mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-29 10:50:33 +00:00
Suppress unused warnings in tests
This commit is contained in:
+1
@@ -244,6 +244,7 @@ class AutowiredAnnotationBeanRegistrationAotContributionTests {
|
||||
|
||||
static class InjectionBean {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private Integer counter;
|
||||
|
||||
@Autowired
|
||||
|
||||
+1
@@ -24,6 +24,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class QualifierConfiguration {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private String bean;
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user