From 34ddf5b47264fdcd1d9bc50a756a96b8dfd53a51 Mon Sep 17 00:00:00 2001 From: "Ray J. Greenwell" Date: Fri, 27 Apr 2012 17:04:19 -0700 Subject: [PATCH] Deprecated constructor with pointless argument. --- src/main/java/com/samskivert/util/Config.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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.