Rename {DEFAULT_=>}COMMAND_LINE_PROPERTY_SOURCE_NAME

For consistency with all other constants representing default
property source names, such as
StandardServletEnvironment#SERVLET_CONTEXT_PROPERTY_SOURCE_NAME and
StandardEnvironment#SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME

Issue: SPR-8482
This commit is contained in:
Chris Beams
2011-07-02 21:39:52 +00:00
parent d9ee958d88
commit b5b2add5cf
4 changed files with 6 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ public class SimpleCommandLinePropertySourceTests {
public void withDefaultName() {
PropertySource<?> ps = new SimpleCommandLinePropertySource();
assertThat(ps.getName(),
equalTo(CommandLinePropertySource.DEFAULT_COMMAND_LINE_PROPERTY_SOURCE_NAME));
equalTo(CommandLinePropertySource.COMMAND_LINE_PROPERTY_SOURCE_NAME));
}
@Test