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

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


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


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