zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maoling <...@git.apache.org>
Subject [GitHub] zookeeper pull request #490: ZOOKEEPER-3000: Use error-prone compiler
Date Tue, 20 Mar 2018 14:07:16 GMT
Github user maoling commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/490#discussion_r175772100
  
    --- Diff: src/java/systest/org/apache/zookeeper/test/system/InstanceManager.java ---
    @@ -266,7 +282,7 @@ synchronized public void removeInstance(String name) throws InterruptedException
             if (assigned == null) {
                 return;
             }
    -        assignments.get(assigned.container).remove(name);
    +        assignments.get(assigned.container).remove(new Assigned(name, 0));
             doDelete(assignmentsNode + '/' + assigned.container + '/' + name);
    --- End diff --
    
    +1


---

Mime
View raw message