提交 0e85c66f 编写于 作者: D David Syer

SPR-6246: Java6 @Override removed

上级 b5806965
......@@ -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 {
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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册