Suppress warnings in Gradle build
This commit is contained in:
		
							parent
							
								
									d6073eaf8d
								
							
						
					
					
						commit
						de9c030ba1
					
				|  | @ -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); | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue