Deprecated constructor with pointless argument.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user