updated java comment
This commit is contained in:
parent
8751c4c90a
commit
ab9d1cd461
|
@ -88,7 +88,7 @@ public class CollectionToArrayListUnitTest {
|
||||||
Iterator<Foo> iterA = a.iterator();
|
Iterator<Foo> iterA = a.iterator();
|
||||||
Iterator<Foo> iterB = b.iterator();
|
Iterator<Foo> iterB = b.iterator();
|
||||||
while (iterA.hasNext()) {
|
while (iterA.hasNext()) {
|
||||||
// use '==' to test instance identity
|
// test instance identity
|
||||||
assertSame("Foo instances differ!", iterA.next(), iterB.next());
|
assertSame("Foo instances differ!", iterA.next(), iterB.next());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue