From 0b21c16fa8610950ec0eb0127c7312a6679f0c9e Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 14 Nov 2022 20:41:47 +0100 Subject: [PATCH] Suppress unused warning in test code --- .../testfixture/context/annotation/AutowiredGenericTemplate.java | 1 + 1 file changed, 1 insertion(+) 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