Skip to content

Commit

Permalink
Deprecated constructor with pointless argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray J. Greenwell committed Apr 30, 2012
1 parent 177c6d3 commit 34ddf5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/java/com/samskivert/util/Config.java
Expand Up @@ -91,11 +91,17 @@ public Config (String path, ClassLoader loader)
/** /**
* 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.
Expand Down

0 comments on commit 34ddf5b

Please sign in to comment.