You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ed...@apache.org on 2024/02/26 14:58:25 UTC
(accumulo) branch 2.1 updated: Remove unneeded SuppressFBWarnings annotation from ZooPropStore (#4304)
This is an automated email from the ASF dual-hosted git repository.
edcoleman pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push:
new c72bf8c00c Remove unneeded SuppressFBWarnings annotation from ZooPropStore (#4304)
c72bf8c00c is described below
commit c72bf8c00cb196d048d1aa35077327c55d6e58e2
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Mon Feb 26 09:58:19 2024 -0500
Remove unneeded SuppressFBWarnings annotation from ZooPropStore (#4304)
---
.../java/org/apache/accumulo/server/conf/store/impl/ZooPropStore.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/server/base/src/main/java/org/apache/accumulo/server/conf/store/impl/ZooPropStore.java b/server/base/src/main/java/org/apache/accumulo/server/conf/store/impl/ZooPropStore.java
index aed65fdbbe..a345b58c46 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/conf/store/impl/ZooPropStore.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/conf/store/impl/ZooPropStore.java
@@ -49,8 +49,6 @@ import org.slf4j.LoggerFactory;
import com.github.benmanes.caffeine.cache.Ticker;
-import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
-
public class ZooPropStore implements PropStore, PropChangeListener {
private final static Logger log = LoggerFactory.getLogger(ZooPropStore.class);
@@ -83,8 +81,6 @@ public class ZooPropStore implements PropStore, PropChangeListener {
* @param watcher a watcher. Optional, if null, one is created.
* @param ticker a synthetic clock used for testing. Optional, if null, one is created.
*/
- @SuppressFBWarnings(value = "PREDICTABLE_RANDOM",
- justification = "random number not used in secure context")
ZooPropStore(final InstanceId instanceId, final ZooReaderWriter zrw, final ReadyMonitor monitor,
final PropStoreWatcher watcher, final Ticker ticker) {