Skip to content

Commit ce761d3

Browse files
committed
renamed AbstractPropertyPlaceholderConfigurer to PlaceholderConfigurerSupport
1 parent df6be9f commit ce761d3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.Map;
2525

2626
import org.junit.Test;
27-
import org.springframework.beans.factory.config.AbstractPropertyPlaceholderConfigurer;
27+
import org.springframework.beans.factory.config.PlaceholderConfigurerSupport;
2828
import org.springframework.beans.factory.config.PropertyOverrideConfigurer;
2929
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
3030
import org.springframework.context.ApplicationContext;
@@ -45,8 +45,8 @@ public class ContextNamespaceHandlerTests {
4545
public void propertyPlaceholder() throws Exception {
4646
ApplicationContext applicationContext = new ClassPathXmlApplicationContext(
4747
"contextNamespaceHandlerTests-replace.xml", getClass());
48-
Map<String, AbstractPropertyPlaceholderConfigurer> beans = applicationContext
49-
.getBeansOfType(AbstractPropertyPlaceholderConfigurer.class);
48+
Map<String, PlaceholderConfigurerSupport> beans = applicationContext
49+
.getBeansOfType(PlaceholderConfigurerSupport.class);
5050
assertFalse("No PropertyPlaceholderConfigurer found", beans.isEmpty());
5151
String s = (String) applicationContext.getBean("string");
5252
assertEquals("No properties replaced", "bar", s);
@@ -77,8 +77,8 @@ public void propertyPlaceholderEnvironmentProperties() throws Exception {
7777
applicationContext.setEnvironment(env);
7878
applicationContext.load(new ClassPathResource("contextNamespaceHandlerTests-simple.xml", getClass()));
7979
applicationContext.refresh();
80-
Map<String, AbstractPropertyPlaceholderConfigurer> beans = applicationContext
81-
.getBeansOfType(AbstractPropertyPlaceholderConfigurer.class);
80+
Map<String, PlaceholderConfigurerSupport> beans = applicationContext
81+
.getBeansOfType(PlaceholderConfigurerSupport.class);
8282
assertFalse("No PropertyPlaceholderConfigurer found", beans.isEmpty());
8383
String s = (String) applicationContext.getBean("string");
8484
assertEquals("No properties replaced", "spam", s);
@@ -103,8 +103,8 @@ public void propertyPlaceholderLocation() throws Exception {
103103
public void propertyPlaceholderIgnored() throws Exception {
104104
ApplicationContext applicationContext = new ClassPathXmlApplicationContext(
105105
"contextNamespaceHandlerTests-replace-ignore.xml", getClass());
106-
Map<String, AbstractPropertyPlaceholderConfigurer> beans = applicationContext
107-
.getBeansOfType(AbstractPropertyPlaceholderConfigurer.class);
106+
Map<String, PlaceholderConfigurerSupport> beans = applicationContext
107+
.getBeansOfType(PlaceholderConfigurerSupport.class);
108108
assertFalse("No PropertyPlaceholderConfigurer found", beans.isEmpty());
109109
String s = (String) applicationContext.getBean("string");
110110
assertEquals("Properties replaced", "${bar}", s);

0 commit comments

Comments
 (0)