diff --git a/spring-context/src/testFixtures/java/org/springframework/context/testfixture/context/annotation/AutowiredGenericTemplate.java b/spring-context/src/testFixtures/java/org/springframework/context/testfixture/context/annotation/AutowiredGenericTemplate.java index 8862451ba9c..8659cdecb62 100644 --- a/spring-context/src/testFixtures/java/org/springframework/context/testfixture/context/annotation/AutowiredGenericTemplate.java +++ b/spring-context/src/testFixtures/java/org/springframework/context/testfixture/context/annotation/AutowiredGenericTemplate.java @@ -20,6 +20,7 @@ import org.springframework.beans.factory.annotation.Autowired; public class AutowiredGenericTemplate { + @SuppressWarnings("unused") private GenericTemplate genericTemplate; @Autowired