remove a few unused methods

This commit is contained in:
Havoc Pennington 2011-11-12 22:07:55 -05:00
parent e66eaddfc7
commit 367b1b27fa

View File

@ -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();