From b782747472f0c40279cb2c4defbfe21a31f8905b Mon Sep 17 00:00:00 2001 From: juhyun Date: Sat, 9 Dec 2023 23:23:54 +0900 Subject: [PATCH] Remove unused code See gh-31801 --- .../annotation/ComponentScanAnnotationIntegrationTests.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java b/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java index bae23445e5..c3aeec5527 100644 --- a/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java +++ b/spring-context/src/test/java/org/springframework/context/annotation/ComponentScanAnnotationIntegrationTests.java @@ -455,11 +455,6 @@ class ComponentScanAnnotatedConfig_WithValueAttribute { } } -@Configuration -@ComponentScan -class ComponentScanWithNoPackagesConfig { -} - @Configuration @ComponentScan(basePackages = "example.scannable", nameGenerator = MyBeanNameGenerator.class) class ComponentScanWithBeanNameGenerator {