From 6e1a4c8a7d17a6042135bc63fd4f1cc9dff21fca Mon Sep 17 00:00:00 2001 From: amit2103 Date: Sun, 23 Jun 2019 17:46:20 +0530 Subject: [PATCH] [BAEL-14274] - Fixed article code for https://www.baeldung.com/properties-with-spring --- .../baeldung/properties/parentchild/config/ChildConfig2.java | 2 +- .../baeldung/properties/parentchild/config/ParentConfig2.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ChildConfig2.java b/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ChildConfig2.java index 2ed14d7701..0dfff4d858 100644 --- a/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ChildConfig2.java +++ b/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ChildConfig2.java @@ -15,7 +15,7 @@ public class ChildConfig2 { } @Bean - public static PropertyPlaceholderConfigurer configurer() { + public static PropertyPlaceholderConfigurer properties() { final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer(); ppc.setLocations(new ClassPathResource("child.properties")); return ppc; diff --git a/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ParentConfig2.java b/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ParentConfig2.java index c38ba8e483..84ebdad760 100644 --- a/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ParentConfig2.java +++ b/spring-all/src/test/java/org/baeldung/properties/parentchild/config/ParentConfig2.java @@ -15,7 +15,7 @@ public class ParentConfig2 { } @Bean - public static PropertyPlaceholderConfigurer configurer() { + public static PropertyPlaceholderConfigurer properties() { final PropertyPlaceholderConfigurer ppc = new PropertyPlaceholderConfigurer(); ppc.setLocations(new ClassPathResource("parent.properties")); return ppc;