diff --git a/src/main/java/com/typesafe/config/impl/AbstractConfigObject.java b/src/main/java/com/typesafe/config/impl/AbstractConfigObject.java index 941b2005..8af75e0d 100644 --- a/src/main/java/com/typesafe/config/impl/AbstractConfigObject.java +++ b/src/main/java/com/typesafe/config/impl/AbstractConfigObject.java @@ -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();