From d91806d7ab945f3350ecb3b2fda3a7c2a3247c95 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 24 Sep 2015 19:56:10 +0200 Subject: [PATCH] Suppress warnings in Gradle build --- .../aop/aspectj/annotation/AspectProxyFactoryTests.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectProxyFactoryTests.java b/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectProxyFactoryTests.java index 2f3ea2c9f9..87b295b908 100644 --- a/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectProxyFactoryTests.java +++ b/spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectProxyFactoryTests.java @@ -19,15 +19,18 @@ package org.springframework.aop.aspectj.annotation; import java.util.Arrays; import org.apache.commons.logging.LogFactory; + import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; + import org.junit.Ignore; import org.junit.Test; -import test.aop.PerThisAspect; import org.springframework.util.SerializationTestUtils; +import test.aop.PerThisAspect; + import static org.junit.Assert.*; /** @@ -134,6 +137,7 @@ public class AspectProxyFactoryTests { this.age = age; } + @SuppressWarnings("unchecked") public boolean doWithVarargs(V... args) { return true; }