Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2C13D200C5F for ; Sun, 9 Apr 2017 00:32:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2A7A4160BA3; Sat, 8 Apr 2017 22:32:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 70A4F160B93 for ; Sun, 9 Apr 2017 00:32:46 +0200 (CEST) Received: (qmail 19933 invoked by uid 500); 8 Apr 2017 22:32:45 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 19874 invoked by uid 99); 8 Apr 2017 22:32:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2017 22:32:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 174DE1A088C for ; Sat, 8 Apr 2017 22:32:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EcqSn-JvxIgf for ; Sat, 8 Apr 2017 22:32:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id BD2655F306 for ; Sat, 8 Apr 2017 22:32:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 17C35E06BD for ; Sat, 8 Apr 2017 22:32:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BCCDB24067 for ; Sat, 8 Apr 2017 22:32:41 +0000 (UTC) Date: Sat, 8 Apr 2017 22:32:41 +0000 (UTC) From: "Michael Han (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ZOOKEEPER-2729) Cleanup findbug warnings in branch-3.4: Correctness Warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 08 Apr 2017 22:32:47 -0000 [ 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)