From 0e85c66f2f42bde85dd83b4d2482bfe8d7bff488 Mon Sep 17 00:00:00 2001 From: David Syer Date: Wed, 28 Oct 2009 13:56:11 +0000 Subject: [PATCH] SPR-6246: Java6 @Override removed --- .../web/servlet/view/velocity/VelocityRenderTests.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java index 6072a9b58b..a85524241a 100644 --- a/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java +++ b/org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java @@ -106,11 +106,9 @@ public class VelocityRenderTests { thrown.expect(NestedServletException.class); thrown.expect(new TypeSafeMatcher() { - @Override public boolean matchesSafely(Exception item) { return item.getCause() instanceof MethodInvocationException; } - @Override public void describeTo(Description description) { description.appendText("exception has cause of MethodInvocationException"); @@ -140,11 +138,9 @@ public class VelocityRenderTests { thrown.expect(NestedServletException.class); thrown.expect(new TypeSafeMatcher() { - @Override public boolean matchesSafely(Exception item) { return item.getCause() instanceof IOException; } - @Override public void describeTo(Description description) { description.appendText("exception has cause of IOException");