This is an automated email from the ASF dual-hosted git repository.

ctubbsii 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 2f8f90e1fd Fix trivial warnings
2f8f90e1fd is described below

commit 2f8f90e1fd6aebc5bcd78654b75d8c37c8d1e6ba
Author: Christopher Tubbs <[email protected]>
AuthorDate: Thu Feb 26 15:52:36 2026 -0500

    Fix trivial warnings
    
    Fix some warnings for 2.1 flagged by IDE, including some that were fixed
    in 42bc7fe91fb9fccf129f942604fd3e963a3fb40f for the main branch.
---
 .../org/apache/accumulo/core/clientImpl/TableOperationsImpl.java   | 7 -------
 .../main/java/org/apache/accumulo/core/file/BloomFilterLayer.java  | 2 --
 .../org/apache/accumulo/test/functional/IteratorConflictsIT.java   | 2 --
 3 files changed, 11 deletions(-)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
 
b/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
index d692bae9a7..7155cb3b1b 100644
--- 
a/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
+++ 
b/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
@@ -1021,13 +1021,6 @@ public class TableOperationsImpl extends 
TableOperationsHelper {
     final TVersionedProperties vProperties =
         ThriftClientTypes.CLIENT.execute(context, client -> client
             .getVersionedTableProperties(TraceUtil.traceInfo(), 
context.rpcCreds(), tableName));
-    final Map<String,String> configBeforeMut;
-    try {
-      configBeforeMut = getConfiguration(tableName);
-    } catch (TableNotFoundException e) {
-      throw new AccumuloException(e);
-    }
-
     mapMutator.accept(vProperties.getProperties());
 
     // A reference to the map was passed to the user, maybe they still have 
the reference and are
diff --git 
a/core/src/main/java/org/apache/accumulo/core/file/BloomFilterLayer.java 
b/core/src/main/java/org/apache/accumulo/core/file/BloomFilterLayer.java
index ff76ef0120..e8f53d47bf 100644
--- a/core/src/main/java/org/apache/accumulo/core/file/BloomFilterLayer.java
+++ b/core/src/main/java/org/apache/accumulo/core/file/BloomFilterLayer.java
@@ -24,7 +24,6 @@ import static 
org.apache.accumulo.core.util.threads.ThreadPoolNames.BLOOM_LOADER
 import java.io.DataInputStream;
 import java.io.DataOutputStream;
 import java.io.IOException;
-import java.security.SecureRandom;
 import java.util.Collection;
 import java.util.Map;
 import java.util.Set;
@@ -57,7 +56,6 @@ import org.slf4j.LoggerFactory;
  */
 public class BloomFilterLayer {
 
-  private static final SecureRandom random = new SecureRandom();
   private static final Logger LOG = 
LoggerFactory.getLogger(BloomFilterLayer.class);
   public static final String BLOOM_FILE_NAME = "acu_bloom";
   public static final int HASH_COUNT = 5;
diff --git 
a/test/src/main/java/org/apache/accumulo/test/functional/IteratorConflictsIT.java
 
b/test/src/main/java/org/apache/accumulo/test/functional/IteratorConflictsIT.java
index 483af3bb03..78cbffdab4 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/functional/IteratorConflictsIT.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/functional/IteratorConflictsIT.java
@@ -385,7 +385,6 @@ public class IteratorConflictsIT extends 
SharedMiniClusterBase {
     String src1 = dstAndSrcNamespace1 + "." + names[15];
     tops.create(src1);
     String dst1 = dstAndSrcNamespace1 + "." + names[16];
-    String dst2 = dstAndSrcNamespace1 + "." + names[17];
     testNamespaceIterPrioConflict(dstAndSrcNamespace1, AccumuloException.class,
         () -> tops.clone(src1, dst1,
             CloneConfiguration.builder()
@@ -601,7 +600,6 @@ public class IteratorConflictsIT extends 
SharedMiniClusterBase {
 
     // testing CloneConfiguration.Builder.setPropertiesToSet
     String dst1 = names[23];
-    String dst2 = names[24];
     String dst3 = names[25];
     String dst4 = names[26];
     String defaultsTable12 = names[27];

Reply via email to