mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Revised ResourcePropertySource in order to avoid ConfigurationClassProcessor's AnnotationPropertySource subclass
Issue: SPR-12115
This commit is contained in:
+2
@@ -362,6 +362,7 @@ public class PropertySourceAnnotationTests {
|
||||
static class ConfigWithEmptyResourceLocations {
|
||||
}
|
||||
|
||||
|
||||
@Import({ ConfigImportedWithSameSourceImportedInDifferentOrder.class })
|
||||
@PropertySources({
|
||||
@PropertySource("classpath:org/springframework/context/annotation/p1.properties"),
|
||||
@@ -372,6 +373,7 @@ public class PropertySourceAnnotationTests {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Configuration
|
||||
@PropertySources({
|
||||
@PropertySource("classpath:org/springframework/context/annotation/p2.properties"),
|
||||
|
||||
Reference in New Issue
Block a user