Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 86898 invoked from network); 13 Sep 2007 00:08:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 00:08:10 -0000 Received: (qmail 41898 invoked by uid 500); 13 Sep 2007 00:07:58 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 41830 invoked by uid 500); 13 Sep 2007 00:07:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 41817 invoked by uid 99); 13 Sep 2007 00:07:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 17:07:58 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 00:09:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1FE39714159 for ; Wed, 12 Sep 2007 17:07:32 -0700 (PDT) Message-ID: <14676772.1189642052117.JavaMail.jira@brutus> Date: Wed, 12 Sep 2007 17:07:32 -0700 (PDT) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (COLLECTIONS-255) Unused variable in TreeBidiMap.java 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/COLLECTIONS-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell updated COLLECTIONS-255: -------------------------------------- Attachment: COLLECTIONS-255.patch > Unused variable in TreeBidiMap.java > ----------------------------------- > > Key: COLLECTIONS-255 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-255 > Project: Commons Collections > Issue Type: Bug > Components: BidiMap > Affects Versions: Nightly Builds > Reporter: Henri Yandell > Priority: Trivial > Fix For: 3.3 > > Attachments: COLLECTIONS-255.patch > > > Twice in TreeBidiMap there is an entrySet variable that is not used. Rather the entrySet() method returns a new TreeView every time. > We should either: > a) Delete the variable. > b) Use the variable and always return the same TreeView. > I'm thinking a). > [Found via http://opensource.fortifysoftware.com/ ] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.