meatballspaghetti commented on code in PR #5451: URL: https://github.com/apache/accumulo/pull/5451#discussion_r2045155834
########## core/src/main/java/org/apache/accumulo/core/metadata/AccumuloTable.java: ########## @@ -36,25 +36,39 @@ public enum AccumuloTable { SCAN_REF("scanref", "+scanref"); private final String name; + private final String simpleName; private final TableId tableId; public String tableName() { return name; } + public String simpleTableName() { + return simpleName; + } + public TableId tableId() { return tableId; } AccumuloTable(String name, String id) { this.name = Namespace.ACCUMULO.name() + "." + name; + this.simpleName = name; this.tableId = TableId.of(id); } private static final Set<TableId> ALL_IDS = Arrays.stream(values()).map(AccumuloTable::tableId).collect(Collectors.toUnmodifiableSet()); + private static final Set<TableId> BUILT_IN_IDS = Review Comment: Now that you point it out, the two aren't different. I must have been trying to do something new with `BUILT_IN_IDS` that I abandoned and then forgot to delete the redundant set - or I just misunderstood that `ALL_IDS` was only ever returning the enum tables in the first place. In any case, removed `BUILT_IN_IDS`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org