You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2021/08/17 14:04:21 UTC

[accumulo] branch main updated: Remove unused constant from ServerConstants

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

mmiller pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 1359960  Remove unused constant from ServerConstants
1359960 is described below

commit 13599604dbb507d0ee9a28046528b5e0519deb31
Author: Mike Miller <mm...@apache.org>
AuthorDate: Tue Aug 17 10:03:32 2021 -0400

    Remove unused constant from ServerConstants
---
 .../base/src/main/java/org/apache/accumulo/server/ServerConstants.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java b/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
index 0195e8c..48e0172 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
@@ -42,8 +42,6 @@ import org.apache.hadoop.fs.FileStatus;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 
-import com.google.common.collect.Sets;
-
 public class ServerConstants {
 
   public static final String VERSION_DIR = "version";
@@ -84,7 +82,6 @@ public class ServerConstants {
 
   public static final Set<Integer> CAN_RUN =
       Set.of(SHORTEN_RFILE_KEYS, CRYPTO_CHANGES, DATA_VERSION);
-  public static final Set<Integer> NEEDS_UPGRADE = Sets.difference(CAN_RUN, Set.of(DATA_VERSION));
   public static final String TABLE_DIR = "tables";
   public static final String RECOVERY_DIR = "recovery";
   public static final String WAL_DIR = "wal";