You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2012/05/07 19:12:48 UTC

[jira] [Assigned] (WICKET-4530) Final methods on ResourceNameIterator prevent full customization of IResourceStreamLocator

     [ https://issues.apache.org/jira/browse/WICKET-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier reassigned WICKET-4530:
----------------------------------

    Assignee: Sven Meier
    
> Final methods on ResourceNameIterator prevent full customization of IResourceStreamLocator
> ------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4530
>                 URL: https://issues.apache.org/jira/browse/WICKET-4530
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.5, 6.0.0-beta1
>            Reporter: Jan Riehn
>            Assignee: Sven Meier
>              Labels: IResourceStreamLocator, ResourceNameIterator, resource
>
> IResourceStreamLocator contains the method newResourceNameIterator(...) which builds a ResourceNameIterator. Unfortunately ResourceNameIterator declares several getter methods (getLocale(), getStyle(), getVariation(), getExtension()) as final and thus ties the public API to the internal implementation of ResourceNameIterator. Therefore it's not possible to fully customize the behavior of ResourceNameIterator by subclassing.

--
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