ctubbsii commented on a change in pull request #870: Remove unused code in 
master and server
URL: https://github.com/apache/accumulo/pull/870#discussion_r245404562
 
 

 ##########
 File path: 
server/base/src/main/java/org/apache/accumulo/server/replication/ReplicationUtil.java
 ##########
 @@ -52,15 +51,13 @@
   public static final String STATUS_FORMATTER_CLASS_NAME = 
StatusFormatter.class.getName();
 
   private final ServerContext context;
-  private final ZooCache zooCache;
   private final ReplicaSystemFactory factory;
 
   public ReplicationUtil(ServerContext context) {
-    this(context, new ZooCache(context.getZooReaderWriter(), null), new 
ReplicaSystemFactory());
 
 Review comment:
   Always nice to clean up unnecessary spreading of Zoo-utilities leaking into 
places they aren't needed. :+1: 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to