You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/07/26 22:13:35 UTC

[jira] [Commented] (COLLECTIONS-239) In LinkIterator hasPrevious() is not working properly for the first entry

    [ 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