Useless ;
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@745062 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2acd5aabef
commit
65eb026acf
|
@ -60,7 +60,7 @@ public abstract class TestArrayList extends AbstractTestList {
|
||||||
list.get(1);
|
list.get(1);
|
||||||
fail("get(int i) should have thrown IndexOutOfBoundsException");
|
fail("get(int i) should have thrown IndexOutOfBoundsException");
|
||||||
} catch (IndexOutOfBoundsException e) {
|
} catch (IndexOutOfBoundsException e) {
|
||||||
; // Expected result
|
// Expected result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,14 +64,14 @@ public class TestArrayStack extends TestArrayList {
|
||||||
stack.peek();
|
stack.peek();
|
||||||
fail("peek() should have thrown EmptyStackException");
|
fail("peek() should have thrown EmptyStackException");
|
||||||
} catch (EmptyStackException e) {
|
} catch (EmptyStackException e) {
|
||||||
; // Expected result
|
// Expected result
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
stack.pop();
|
stack.pop();
|
||||||
fail("pop() should have thrown EmptyStackException");
|
fail("pop() should have thrown EmptyStackException");
|
||||||
} catch (EmptyStackException e) {
|
} catch (EmptyStackException e) {
|
||||||
; // Expected result
|
// Expected result
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue