Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2728 Clean up findbug warnings in branch-3.4
  3. ZOOKEEPER-2729

Cleanup findbug warnings in branch-3.4: Correctness Warnings

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.9
    • 3.4.11
    • None
    • None

    Description

      (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]
      

      Attachments

        Issue Links

          Activity

            People

              abrahamfine Abraham Fine
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: