Revised ResourcePropertySource in order to avoid ConfigurationClassProcessor's AnnotationPropertySource subclass
Issue: SPR-12115
This commit is contained in:
@@ -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