summaryrefslogtreecommitdiffstats
path: root/zookeeper-server
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2023-11-22 14:00:15 +0100
committerjonmv <venstad@gmail.com>2023-11-22 14:00:15 +0100
commit45a1f35740a865d2cd55990f24dfc35cd892fd8b (patch)
tree9c4e9190a5cb1dfd69b27841c5ee6ea5ce032e68 /zookeeper-server
parent8a6ed4df11c750dcbf4af8b5341e750d6c2e4036 (diff)
Remove find-bugs annotations
Diffstat (limited to 'zookeeper-server')
-rw-r--r--zookeeper-server/zookeeper-server-3.9.1/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/zookeeper-server/zookeeper-server-3.9.1/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java b/zookeeper-server/zookeeper-server-3.9.1/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java
index 06ac902232b..dba44c4b367 100644
--- a/zookeeper-server/zookeeper-server-3.9.1/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java
+++ b/zookeeper-server/zookeeper-server-3.9.1/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java
@@ -18,7 +18,6 @@
package org.apache.zookeeper.server;
-import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
@@ -290,9 +289,6 @@ public class ZooKeeperServer implements SessionExpirer, ServerStats.Provider {
// Connection throttling
private final BlueThrottle connThrottle = new BlueThrottle();
- @SuppressFBWarnings(value = "IS2_INCONSISTENT_SYNC", justification =
- "Internally the throttler has a BlockingQueue so "
- + "once the throttler is created and started, it is thread-safe")
private RequestThrottler requestThrottler;
public static final String SNAP_COUNT = "zookeeper.snapCount";
@@ -1474,7 +1470,6 @@ public class ZooKeeperServer implements SessionExpirer, ServerStats.Provider {
return connThrottle.getDropChance();
}
- @SuppressFBWarnings(value = "IS2_INCONSISTENT_SYNC", justification = "the value won't change after startup")
public void processConnectRequest(ServerCnxn cnxn, ConnectRequest request) throws IOException, ClientCnxnLimitException {
LOG.debug(
"Session establishment request from client {} client's lastZxid is 0x{}",