manthos created WICKET-4950: ------------------------------- Summary: ResourceStreamLocator#newResourceNameIterator isn't a factory method anymore Key: WICKET-4950 URL: https://issues.apache.org/jira/browse/WICKET-4950 Project: Wicket Issue Type: Bug Components: wicket Affects Versions: 6.4.0 Reporter: manthos
During migration from wicket 1.5 to 6 I noticed that ResourceStreamLocator and ResourceNameIterator changed in some ways. IMO suboptimal: the method ResourceStreamLocator#newResourceNameIterator contains code. Typically all new... methods only create a new instance, so user can override and add his own implementation. Since the parameter 'extension' (from ResourceNameIterator) changed from String to Iterator<String>, I suggest to provide a 'newResourceNameIterator' method with a Iterator as parameter (only creating a new ResourceNameIterator). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira