commit | bc24cdc70c97185253fb121825dbeb7e12b33107 | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Thu Jan 18 16:36:04 2024 +0100 |
committer | Saša Živkov <sasa.zivkov@sap.com> | Thu Jan 18 16:36:04 2024 +0100 |
tree | c62c88cb22b7d6ef7106395ad1be79c6d89d7eeb | |
parent | baa032a7a73480b0e1cd96d8ea77054edb518908 [diff] |
Remove wrong javadoc The heartbeat method doesn't throw GlobalRefDbLockException Change-Id: I7254b1558eb8cf79794ed9e35f744f43b8374592
diff --git a/src/main/java/com/googlesource/gerrit/plugins/spannerrefdb/Lock.java b/src/main/java/com/googlesource/gerrit/plugins/spannerrefdb/Lock.java index 4f2ea21..d65e216 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/spannerrefdb/Lock.java +++ b/src/main/java/com/googlesource/gerrit/plugins/spannerrefdb/Lock.java
@@ -184,9 +184,6 @@ * Update the heartbeat timestamp of the current lock if it matches the expected token. If the * tokens do not match, the lock has been reclaimed and a new heartbeat started, so this heartbeat * ends. - * - * @throws GlobalRefDbLockException if the lock unexpectedly no longer exists but the heartbeat is - * still ongoing */ private void heartbeat() { try {