Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Invalid
-
3.2
-
None
-
None
-
JDK 1.4.2_12
Common Collections 3.2
Description
Using ArrayList as the backing list.
This combination at least returns unexpected results as you can see in the testcase below.
I used this for a list navigator in a web frontend and had trouble with users.
I suspect java.util.AbstrList$ListItr (role of "cursor" var seems to be wrong implemented ) to cause this problem. If so maybe we have to implement it in a different way.
Testcase (it runs without hassle but the comments show whats wrong):
-------------------------------------------
import java.util.ArrayList;
import junit.framework.TestCase;
import org.apache.commons.collections.iterators.LoopingListIterator;
public class SelectionControllerTest extends TestCase {
public void testSelectorForApache()
}
-------------------------------------------
Thanks for your help.
Attachments
Attachments
Issue Links
- is related to
-
COLLECTIONS-239 In LinkIterator hasPrevious() is not working properly for the first entry
- Closed