accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith-turner <...@git.apache.org>
Subject [GitHub] accumulo pull request #267: ACCUMULO-4642 Changes to remove ServerConfigurat...
Date Thu, 08 Jun 2017 22:52:58 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message