Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.2-incubating
-
None
-
any
Description
If the constructor
public SimplePropertySource(URL propertiesLocation)
is used, STDOUT is flooded with warnings about "missing name".
Solution:
public SimplePropertySource(URL propertiesLocation) { super(0); // switch the next 2 lines: name should be set BEFORE load(...)! this.properties = load(propertiesLocation); this.name = propertiesLocation.toString(); }