[ https://issues.apache.org/jira/browse/WICKET-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-4393. -------------------------------- Resolution: Fixed ExtensionResourceNameIterator returning null for null extension > ResourceNameIterator should not produce resource names with trailing dot > ------------------------------------------------------------------------ > > Key: WICKET-4393 > URL: https://issues.apache.org/jira/browse/WICKET-4393 > Project: Wicket > Issue Type: Improvement > Affects Versions: 6.0.0 > Reporter: Sven Meier > Assignee: Sven Meier > Priority: Minor > Fix For: 6.0.0 > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira