zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2729) Cleanup findbug warnings in branch-3.4: Correctness Warnings
Date Mon, 20 Mar 2017 05:16:41 GMT
Rakesh R created ZOOKEEPER-2729:
-----------------------------------

             Summary: 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


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

Mime
View raw message