Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EE6FD940 for ; Thu, 26 Jul 2012 20:13:36 +0000 (UTC) Received: (qmail 3241 invoked by uid 500); 26 Jul 2012 20:13:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 3124 invoked by uid 500); 26 Jul 2012 20:13:35 -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 2827 invoked by uid 99); 26 Jul 2012 20:13:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2012 20:13:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1529A142838 for ; Thu, 26 Jul 2012 20:13:35 +0000 (UTC) Date: Thu, 26 Jul 2012 20:13:35 +0000 (UTC) From: "Hudson (JIRA)" To: issues@commons.apache.org Message-ID: <14609907.107791.1343333615091.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (COLLECTIONS-239) In LinkIterator hasPrevious() is not working properly for the first entry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COLLECTIONS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423416#comment-13423416 ] Hudson commented on COLLECTIONS-239: ------------------------------------ Integrated in commons-collections #68 (See [https://builds.apache.org/job/commons-collections/68/]) [COLLECTIONS-239] Use of generic Equator in EqualPredicate. (Revision 1366174) Result = UNSTABLE tn : http://svn.apache.org/viewvc/?view=rev&rev=1366174 Files : * /commons/proper/collections/trunk/src/changes/changes.xml * /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/functors/EqualPredicate.java > In LinkIterator hasPrevious() is not working properly for the first entry > ------------------------------------------------------------------------- > > Key: COLLECTIONS-239 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-239 > Project: Commons Collections > Issue Type: Bug > Components: Iterator > Affects Versions: 3.2 > Environment: Windows XP, jdk-1.5.0_02 > Reporter: Michael Pavlov > Fix For: 4.0-beta-1 > > Attachments: COLLECTIONS-239-test.patch > > > In hasPrevious() method of LinkIterator 'next' field is used, that is not correct - method returns 'true' for the first entry. 'last' field should be used insted. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira