diff --git a/src/main/java/com/samskivert/util/Config.java b/src/main/java/com/samskivert/util/Config.java index 8fd590e6..1eae1338 100644 --- a/src/main/java/com/samskivert/util/Config.java +++ b/src/main/java/com/samskivert/util/Config.java @@ -91,11 +91,17 @@ public class Config /** * Constructs a config object which will obtain information from the supplied properties. */ - public Config (String path, Properties props) + public Config (Properties props) { _props = props; } + @Deprecated + public Config (String path, Properties props) + { + this(props); + } + /** * Fetches and returns the value for the specified configuration property. If the value is not * specified in the associated properties file, the supplied default value is returned instead.