You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2017/04/08 22:32:41 UTC

[jira] [Resolved] (ZOOKEEPER-2729) Cleanup findbug warnings in branch-3.4: Correctness Warnings

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Han resolved ZOOKEEPER-2729.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 220
[https://github.com/apache/zookeeper/pull/220]

> Cleanup findbug warnings in branch-3.4: Correctness Warnings
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2729
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2729
>             Project: ZooKeeper
>          Issue Type: Sub-task
>    Affects Versions: 3.4.9
>            Reporter: Rakesh R
>            Assignee: Abraham Fine
>             Fix For: 3.4.11
>
>
> {code}
> (1) INT Bad comparison of nonnegative value with 0 in org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner.send(DataOutputStream, byte[])
> Bug type INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE (click for details) 
> In class org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner
> In method org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthLearner.send(DataOutputStream, byte[])
> Value 0
> At SaslQuorumAuthLearner.java:[line 176]
> (2) INT	Bad comparison of nonnegative value with 0 in org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.send(DataOutputStream, byte[], QuorumAuth$Status)
> Bug type INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE (click for details) 
> In class org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer
> In method org.apache.zookeeper.server.quorum.auth.SaslQuorumAuthServer.send(DataOutputStream, byte[], QuorumAuth$Status)
> Value 0
> At SaslQuorumAuthServer.java:[line 170]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)