Suppress warnings in Gradle build

This commit is contained in:
Sam Brannen 2015-11-17 14:10:35 +01:00
parent d6073eaf8d
commit de9c030ba1
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,7 @@ public class AspectProxyFactoryTests {
}
@Test // SPR-13328
@SuppressWarnings("unchecked")
public void testProxiedVarargsWithEnumArray() throws Exception {
AspectJProxyFactory proxyFactory = new AspectJProxyFactory(new TestBean());
proxyFactory.addAspect(LoggingAspectOnVarargs.class);
@ -114,6 +115,7 @@ public class AspectProxyFactoryTests {
}
@Test // SPR-13328
@SuppressWarnings("unchecked")
public void testUnproxiedVarargsWithEnumArray() throws Exception {
AspectJProxyFactory proxyFactory = new AspectJProxyFactory(new TestBean());
proxyFactory.addAspect(LoggingAspectOnSetter.class);
@ -126,6 +128,7 @@ public class AspectProxyFactoryTests {
int getAge();
@SuppressWarnings("unchecked")
<V extends MyInterface> boolean doWithVarargs(V... args);
}