提交 90f46f93 编写于 作者: S Sam Brannen

Suppress warnings in tests in spring-orm-hibernate4

上级 527b778b
...@@ -43,6 +43,7 @@ import static org.junit.Assert.*; ...@@ -43,6 +43,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 4.1 * @since 4.1
*/ */
@SuppressWarnings("rawtypes")
public class MethodValidationTests { public class MethodValidationTests {
@Test @Test
...@@ -68,6 +69,7 @@ public class MethodValidationTests { ...@@ -68,6 +69,7 @@ public class MethodValidationTests {
} }
@SuppressWarnings("unchecked")
private void doTestProxyValidation(MyValidInterface proxy) { private void doTestProxyValidation(MyValidInterface proxy) {
assertNotNull(proxy.myValidMethod("value", 5)); assertNotNull(proxy.myValidMethod("value", 5));
try { try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册