Revert reloadable message source support

Closes gh-14882
See gh-14699
See gh-13377
This commit is contained in:
Andy Wilkinson
2018-10-29 16:24:59 +00:00
parent 5ac9b972fe
commit 743782de7e
6 changed files with 1 additions and 67 deletions

View File

@@ -73,7 +73,6 @@ public class DevToolsPropertyDefaultsPostProcessor implements EnvironmentPostPro
properties.put("server.error.include-stacktrace", "ALWAYS");
properties.put("server.servlet.jsp.init-parameters.development", "true");
properties.put("spring.reactor.stacktrace-mode.enabled", "true");
properties.put("spring.messages.reloadable", "true");
PROPERTIES = Collections.unmodifiableMap(properties);
}

View File

@@ -114,17 +114,6 @@ public class DevToolPropertiesIntegrationTests {
.isEqualTo(ErrorProperties.IncludeStacktrace.ALWAYS.toString());
}
@Test
public void postProcessEnablesMessageSourceReloadProperty() {
SpringApplication application = new SpringApplication(TestConfiguration.class);
application.setWebApplicationType(WebApplicationType.NONE);
this.context = application.run();
ConfigurableEnvironment environment = this.context.getEnvironment();
Boolean property = environment.getProperty("spring.messages.reloadable",
Boolean.class);
assertThat(property).isTrue();
}
@Configuration
static class TestConfiguration {