You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/08/10 13:46:49 UTC

[GitHub] keith-turner commented on a change in pull request #585: ServerContext is now a singleton class

keith-turner commented on a change in pull request #585: ServerContext is now a singleton class
URL: https://github.com/apache/accumulo/pull/585#discussion_r209261463
 
 

 ##########
 File path: server/base/src/main/java/org/apache/accumulo/server/tablets/UniqueNameAllocator.java
 ##########
 @@ -71,14 +73,4 @@ public synchronized String getNextName() {
     return new String(FastFormat.toZeroPaddedString(next++, 7, Character.MAX_RADIX, new byte[0]),
         UTF_8);
   }
-
-  private static UniqueNameAllocator instance = null;
-
-  public static synchronized UniqueNameAllocator getInstance() {
 
 Review comment:
   Another nice removal.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services