Skip to content

Commit 0e85c66

Browse files
author
David Syer
committed
SPR-6246: Java6 @OverRide removed
1 parent b580696 commit 0e85c66

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,9 @@ public void testSimpleRenderWithError() throws Exception {
106106
thrown.expect(NestedServletException.class);
107107

108108
thrown.expect(new TypeSafeMatcher<Exception>() {
109-
@Override
110109
public boolean matchesSafely(Exception item) {
111110
return item.getCause() instanceof MethodInvocationException;
112111
}
113-
@Override
114112
public void describeTo(Description description) {
115113
description.appendText("exception has cause of MethodInvocationException");
116114

@@ -140,11 +138,9 @@ public void testSimpleRenderWithIOError() throws Exception {
140138
thrown.expect(NestedServletException.class);
141139

142140
thrown.expect(new TypeSafeMatcher<Exception>() {
143-
@Override
144141
public boolean matchesSafely(Exception item) {
145142
return item.getCause() instanceof IOException;
146143
}
147-
@Override
148144
public void describeTo(Description description) {
149145
description.appendText("exception has cause of IOException");
150146

0 commit comments

Comments
 (0)