Deprecated constructor with pointless argument.

This commit is contained in:
Ray J. Greenwell
2012-04-27 17:04:19 -07:00
parent 177c6d3ae4
commit 34ddf5b472
@@ -91,11 +91,17 @@ public class Config
/** /**
* Constructs a config object which will obtain information from the supplied properties. * Constructs a config object which will obtain information from the supplied properties.
*/ */
public Config (String path, Properties props) public Config (Properties props)
{ {
_props = 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 * 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. * specified in the associated properties file, the supplied default value is returned instead.