mirror of
https://github.com/lightbend/config.git
synced 2025-03-23 07:40:25 +08:00
remove a few unused methods
This commit is contained in:
parent
e66eaddfc7
commit
367b1b27fa
@ -31,10 +31,6 @@ abstract class AbstractConfigObject extends AbstractConfigValue implements
|
||||
throw new ConfigException.BugOrBroken("null transformer");
|
||||
}
|
||||
|
||||
protected AbstractConfigObject(ConfigOrigin origin) {
|
||||
this(origin, ConfigImpl.defaultConfigTransformer());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a version of this object that implements the ConfigRoot
|
||||
* interface.
|
||||
@ -74,22 +70,15 @@ abstract class AbstractConfigObject extends AbstractConfigValue implements
|
||||
|
||||
/**
|
||||
* Looks up the path with no transformation, type conversion, or exceptions
|
||||
* (just returns null if path not found).
|
||||
* (just returns null if path not found). Does however resolve the path, if
|
||||
* resolver != null.
|
||||
*/
|
||||
protected ConfigValue peekPath(Path path) {
|
||||
return peekPath(this, path);
|
||||
}
|
||||
|
||||
protected ConfigValue peekPath(Path path, SubstitutionResolver resolver,
|
||||
int depth,
|
||||
boolean withFallbacks) {
|
||||
return peekPath(this, path, resolver, depth, withFallbacks);
|
||||
}
|
||||
|
||||
private static ConfigValue peekPath(AbstractConfigObject self, Path path) {
|
||||
return peekPath(self, path, null, 0, false);
|
||||
}
|
||||
|
||||
private static ConfigValue peekPath(AbstractConfigObject self, Path path,
|
||||
SubstitutionResolver resolver, int depth, boolean withFallbacks) {
|
||||
String key = path.first();
|
||||
|
Loading…
Reference in New Issue
Block a user