Browse files

Deprecated constructor with pointless argument.

  • Loading branch information...
1 parent 177c6d3 commit 34ddf5b47264fdcd1d9bc50a756a96b8dfd53a51 @raygreenwell raygreenwell committed Apr 27, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/main/java/com/samskivert/util/Config.java
View
8 src/main/java/com/samskivert/util/Config.java
@@ -91,11 +91,17 @@ public Config (String path, ClassLoader loader)
/**
* 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.

0 comments on commit 34ddf5b

Please sign in to comment.