From 65eb026acf37ddd40baa50eab331a699f29b9a7b Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Tue, 17 Feb 2009 13:40:53 +0000 Subject: [PATCH] Useless ; git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@745062 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/commons/collections/TestArrayList.java | 2 +- src/test/org/apache/commons/collections/TestArrayStack.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 } }