Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
6.0.0-beta1
-
None
-
None
Description
Currently when a ResourceNameIterator is created with a null extension (and the path doesn't contain an extension suffix), it produces resource names with a trailing dot.
This is caused by ExtensionResourceNameIterator returning an empty String when it was created with a null extension.
The current behavior seems to be utilized in PropertiesFactory#load() only, where the loader's extension is just appended to the path, knowing that is has the trailing dot.
Apart from that the current implementation is just confusing.