Remove trailing whitespace from source code
This commit is contained in:
@@ -52,19 +52,19 @@ public class Spr11202Tests {
|
||||
context = new AnnotationConfigApplicationContext(Wrapper.class);
|
||||
assertEquals("foo", context.getBean("value"));
|
||||
}
|
||||
|
||||
|
||||
@Test // Passes
|
||||
public void testWithoutImporter() {
|
||||
context = new AnnotationConfigApplicationContext(Config.class);
|
||||
assertEquals("foo", context.getBean("value"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Configuration
|
||||
@Import(Selector.class)
|
||||
protected static class Wrapper {
|
||||
}
|
||||
|
||||
|
||||
protected static class Selector implements ImportSelector {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -183,11 +183,11 @@ public class ImportResourceTests {
|
||||
reader=XmlBeanDefinitionReader.class)
|
||||
static class SubResourceConfig extends ImportNonXmlResourceConfig {
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void importWithPlaceHolder() throws Exception {
|
||||
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
|
||||
PropertySource<?> propertySource = new MapPropertySource("test",
|
||||
PropertySource<?> propertySource = new MapPropertySource("test",
|
||||
Collections.<String, Object> singletonMap("test", "springframework"));
|
||||
ctx.getEnvironment().getPropertySources().addFirst(propertySource);
|
||||
ctx.register(ImportXmlConfig.class);
|
||||
@@ -199,6 +199,6 @@ public class ImportResourceTests {
|
||||
@ImportResource("classpath:org/${test}/context/annotation/configuration/ImportXmlConfig-context.xml")
|
||||
static class ImportWithPlaceHolder {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user