[JIRA] Closed: (JXT-83) IndexedXMLObjectChildrenList ListView indexOf and lastIndexOf methods operate on the wrong data

Brent Putman (JIRA) noreply at shibboleth.net
Fri Oct 21 21:38:25 BST 2011


     [ https://issues.shibboleth.net/jira/browse/JXT-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brent Putman closed JXT-83.
---------------------------

    Resolution: Fixed

Fixed in r742.

> IndexedXMLObjectChildrenList ListView indexOf and lastIndexOf methods operate on the wrong data
> -----------------------------------------------------------------------------------------------
>
>                 Key: JXT-83
>                 URL: https://issues.shibboleth.net/jira/browse/JXT-83
>             Project: XMLTooling - Java
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Brent Putman
>            Assignee: Brent Putman
>            Priority: Minor
>             Fix For: 1.3.3
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> These methods operate on the backingList rather than the indexList member of ListView.  This leads to the following equalities not holding:
> child == sublist.get(sublist.indexOf(child))
> child == sublist.get(sublist.lastIndexOf(child))
> This appears to probably be just a typo type of error.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list