make non-public getEnvironmentAsConfig and getSystemPropertiesAsConfig

This commit is contained in:
Havoc Pennington 2011-11-09 08:55:58 -05:00
parent 1b3d6d429f
commit 82586d7a02

View File

@ -37,14 +37,14 @@ public class ConfigImpl {
return merged;
}
public static ConfigObject getEnvironmentAsConfig() {
static ConfigObject getEnvironmentAsConfig() {
// This should not need to create a new config object
// as long as the transformer is just the default transformer.
return AbstractConfigObject.transformed(envVariablesConfig(),
withExtraTransformer(null));
}
public static ConfigObject getSystemPropertiesAsConfig() {
static ConfigObject getSystemPropertiesAsConfig() {
// This should not need to create a new config object
// as long as the transformer is just the default transformer.
return AbstractConfigObject.transformed(systemPropertiesConfig(),