[ https://issues.apache.org/jira/browse/ZOOKEEPER-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406383#comment-16406383 ]
ASF GitHub Bot commented on ZOOKEEPER-3000: ------------------------------------------- Github user maoling commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/490#discussion_r175774472 --- Diff: src/java/test/org/apache/zookeeper/test/ZooKeeperTestClient.java --- @@ -71,13 +71,14 @@ private void deleteZKDir(ZooKeeper zk, String nodeName) } List<String> children1 = zk.getChildren(nodeName, false); - List<String> c2 = zk.getChildren(nodeName, false, stat); + Stat stat2 = new Stat(); + List<String> c2 = zk.getChildren(nodeName, false, stat2); --- End diff -- **stat** has been changed(copyed) in **zk.getChildren()** . `stat.equals(stat) `is right in findbugs > Use error-prone compiler > ------------------------ > > Key: ZOOKEEPER-3000 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3000 > Project: ZooKeeper > Issue Type: Improvement > Reporter: Roman Leventov > Priority: Major > > See http://errorprone.info/ -- This message was sent by Atlassian JIRA (v7.6.3#76005)