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 2020/03/12 20:28:01 UTC

[accumulo] branch master updated: Remove unused methods in ServerConfigurationFactory

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8404d14  Remove unused methods in ServerConfigurationFactory
8404d14 is described below

commit 8404d144d63c4629edd57d9bcc42d4c5626762a3
Author: Mike Miller <mm...@apache.org>
AuthorDate: Thu Mar 12 16:27:13 2020 -0400

    Remove unused methods in ServerConfigurationFactory
---
 .../accumulo/server/conf/ServerConfigurationFactory.java     | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/server/base/src/main/java/org/apache/accumulo/server/conf/ServerConfigurationFactory.java b/server/base/src/main/java/org/apache/accumulo/server/conf/ServerConfigurationFactory.java
index 3a0779d..f9b8743 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/conf/ServerConfigurationFactory.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/conf/ServerConfigurationFactory.java
@@ -55,18 +55,6 @@ public class ServerConfigurationFactory extends ServerConfiguration {
     }
   }
 
-  static boolean removeCachedTableConfiguration(String instanceId, TableId tableId) {
-    synchronized (tableConfigs) {
-      return tableConfigs.get(instanceId).remove(tableId) != null;
-    }
-  }
-
-  static boolean removeCachedNamespaceConfiguration(String instanceId, NamespaceId namespaceId) {
-    synchronized (namespaceConfigs) {
-      return namespaceConfigs.get(instanceId).remove(namespaceId) != null;
-    }
-  }
-
   static void clearCachedConfigurations() {
     synchronized (tableConfigs) {
       tableConfigs.clear();