Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 60004 invoked from network); 19 Sep 2008 00:19:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 00:19:40 -0000 Received: (qmail 10821 invoked by uid 500); 19 Sep 2008 00:19:31 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 10802 invoked by uid 500); 19 Sep 2008 00:19:31 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 10791 invoked by uid 99); 19 Sep 2008 00:19:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 17:19:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 00:18:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3503D234C1D8 for ; Thu, 18 Sep 2008 17:18:44 -0700 (PDT) Message-ID: <151341251.1221783524201.JavaMail.jira@brutus> Date: Thu, 18 Sep 2008 17:18:44 -0700 (PDT) From: "Suresh Srinivas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4204) Fix warnings generated by FindBugs In-Reply-To: <1400756902.1221763964245.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas updated HADOOP-4204: ------------------------------------ Attachment: HADOOP-4204.patch There are several findbugs warnings. They will be addressed in installments. This change addresses the following issues: - Use static inner classes where instance variables from the outer class is not used - Use Iterator for Map Entry to access key avalues instead of iterating over the key set and getting the values for the key from the map - Use valueOf for Byte, Integer, Short and Long to use existing objects instead of creating new one - Remove some unused variables > Fix warnings generated by FindBugs > ---------------------------------- > > Key: HADOOP-4204 > URL: https://issues.apache.org/jira/browse/HADOOP-4204 > Project: Hadoop Core > Issue Type: Bug > Environment: This is compile time issue > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Fix For: 0.19.0 > > Attachments: HADOOP-4204.patch > > > There are several warnings currently printed by findbugs. These need to be addressed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.