diff --git a/src/test/org/apache/commons/collections/TestArrayList.java b/src/test/org/apache/commons/collections/TestArrayList.java index bec4d049e..5d6ffafff 100644 --- a/src/test/org/apache/commons/collections/TestArrayList.java +++ b/src/test/org/apache/commons/collections/TestArrayList.java @@ -60,7 +60,7 @@ public abstract class TestArrayList extends AbstractTestList { list.get(1); fail("get(int i) should have thrown IndexOutOfBoundsException"); } catch (IndexOutOfBoundsException e) { - ; // Expected result + // Expected result } } diff --git a/src/test/org/apache/commons/collections/TestArrayStack.java b/src/test/org/apache/commons/collections/TestArrayStack.java index d8813a50b..33145e94a 100644 --- a/src/test/org/apache/commons/collections/TestArrayStack.java +++ b/src/test/org/apache/commons/collections/TestArrayStack.java @@ -64,14 +64,14 @@ public class TestArrayStack extends TestArrayList { stack.peek(); fail("peek() should have thrown EmptyStackException"); } catch (EmptyStackException e) { - ; // Expected result + // Expected result } try { stack.pop(); fail("pop() should have thrown EmptyStackException"); } catch (EmptyStackException e) { - ; // Expected result + // Expected result } }