Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Deprecated constructor with pointless argument.

  • Loading branch information...
commit 34ddf5b47264fdcd1d9bc50a756a96b8dfd53a51 1 parent 177c6d3
@raygreenwell raygreenwell authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.