Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/267#discussion_r121007535
  
    --- Diff: 
server/base/src/main/java/org/apache/accumulo/server/conf/TableConfWatcher.java 
---
    @@ -33,11 +33,13 @@
       private static final Logger log = 
Logger.getLogger(TableConfWatcher.class);
       private final Instance instance;
       private final String tablesPrefix;
    +  private final int tablesPrefixLength;
       private ServerConfigurationFactory scf;
     
       TableConfWatcher(Instance instance) {
         this.instance = instance;
         tablesPrefix = ZooUtil.getRoot(instance) + Constants.ZTABLES + "/";
    +    tablesPrefixLength = tablesPrefix.length();
    --- End diff --
    
    Why store the length?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to