diff options
Diffstat (limited to 'javaunohelper/test/com/sun')
-rw-r--r-- | javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java index 7459fae4085a..d9488114d420 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java @@ -571,11 +571,13 @@ public class InterfaceContainer_Test cont.addAll(list1); // go to the end of our list and list1 ListIterator it= cont.listIterator(); - while (it.hasNext()) + while (it.hasNext()) { it.next(); + } ListIterator it_list1= list1.listIterator(); - while (it_list1.hasNext()) + while (it_list1.hasNext()) { it_list1.next(); + } while (it.hasPrevious()) { @@ -612,8 +614,9 @@ public class InterfaceContainer_Test ListIterator it; cont.addAll(list1); it= cont.listIterator(); - while (it.hasNext()) + while (it.hasNext()) { it.next(); + } assertEquals(it.previousIndex(), 2); it.previous(); |