Merge pull request #7168 from amit2103/BAEL-14274-3
[BAEL-14274] - Fixed article code for https://www.baeldung.com/proper…
This commit is contained in:
commit
d8d5270fa0
|
@ -16,7 +16,7 @@ public class ChildConfig2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public static PropertyPlaceholderConfigurer configurer() {
|
public static PropertyPlaceholderConfigurer properties() {
|
||||||
final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer();
|
final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer();
|
||||||
ppc.setLocations(new ClassPathResource("child.properties"));
|
ppc.setLocations(new ClassPathResource("child.properties"));
|
||||||
return ppc;
|
return ppc;
|
||||||
|
|
|
@ -16,7 +16,7 @@ public class ParentConfig2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public static PropertyPlaceholderConfigurer configurer() {
|
public static PropertyPlaceholderConfigurer properties() {
|
||||||
final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer();
|
final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer();
|
||||||
ppc.setLocations(new ClassPathResource("parent.properties"));
|
ppc.setLocations(new ClassPathResource("parent.properties"));
|
||||||
return ppc;
|
return ppc;
|
||||||
|
|
Loading…
Reference in New Issue