zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3000) Use error-prone compiler
Date Mon, 19 Mar 2018 19:22:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16405306#comment-16405306
] 

ASF GitHub Bot commented on ZOOKEEPER-3000:
-------------------------------------------

Github user leventov commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/490#discussion_r175555748
  
    --- 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();
    --- End diff --
    
    "SelfEquals" (see a few lines below in diff)


> 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)

Mime
View raw message