Browse Source

SPR-6246: Java6 @Override removed

pull/23217/head
David Syer 15 years ago
parent
commit
0e85c66f2f
  1. 4
      org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java

4
org.springframework.web.servlet/src/test/java/org/springframework/web/servlet/view/velocity/VelocityRenderTests.java

@ -106,11 +106,9 @@ public class VelocityRenderTests { @@ -106,11 +106,9 @@ public class VelocityRenderTests {
thrown.expect(NestedServletException.class);
thrown.expect(new TypeSafeMatcher<Exception>() {
@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 { @@ -140,11 +138,9 @@ public class VelocityRenderTests {
thrown.expect(NestedServletException.class);
thrown.expect(new TypeSafeMatcher<Exception>() {
@Override
public boolean matchesSafely(Exception item) {
return item.getCause() instanceof IOException;
}
@Override
public void describeTo(Description description) {
description.appendText("exception has cause of IOException");

Loading…
Cancel
Save