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

krathbun 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 eaac020323 Fix recent build failure:
eaac020323 is described below

commit eaac0203231393e5f2318bb2faeda2dfcbd3bb56
Author: Kevin Rathbun <kevinrr...@gmail.com>
AuthorDate: Wed May 21 13:00:47 2025 -0400

    Fix recent build failure:
    
    Recent merge of 4da60e3378ab98363e9ab60a09475848400385d7 (#5510) was
    calling a method that had been removed (SystemTables.containsTableName).
    It seems the method was probably removed on accident, so added it back.
---
 .../main/java/org/apache/accumulo/core/metadata/SystemTables.java   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/metadata/SystemTables.java 
b/core/src/main/java/org/apache/accumulo/core/metadata/SystemTables.java
index 65ce9bbf66..bc3796f0a2 100644
--- a/core/src/main/java/org/apache/accumulo/core/metadata/SystemTables.java
+++ b/core/src/main/java/org/apache/accumulo/core/metadata/SystemTables.java
@@ -61,6 +61,8 @@ public enum SystemTables {
 
   private static final Set<TableId> ALL_IDS =
       
Arrays.stream(values()).map(SystemTables::tableId).collect(Collectors.toUnmodifiableSet());
+  private static final Set<String> ALL_NAMES =
+      
Arrays.stream(values()).map(SystemTables::tableName).collect(Collectors.toUnmodifiableSet());
 
   private static final Map<String,String> TABLE_ID_TO_SIMPLE_NAME =
       Arrays.stream(values()).collect(Collectors.toUnmodifiableMap(
@@ -82,6 +84,10 @@ public enum SystemTables {
     return ALL_IDS.contains(tableId);
   }
 
+  public static boolean containsTableName(String tableName) {
+    return ALL_NAMES.contains(tableName);
+  }
+
   public static Map<String,String> tableIdToSimpleNameMap() {
     return TABLE_ID_TO_SIMPLE_NAME;
   }

Reply via email to