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

Sven Meier updated WICKET-4195:
-------------------------------

    Attachment: wicket-4195.patch

Removed loadStringResource() with class parameter. I had to adjust a few test 
but no further problems.
                
> IStringResourceLoader remove one method
> ---------------------------------------
>
>                 Key: WICKET-4195
>                 URL: https://issues.apache.org/jira/browse/WICKET-4195
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.2
>            Reporter: Sven Meier
>            Priority: Minor
>         Attachments: wicket-4195.patch
>
>
> Since WICKET-2910 IStringResourceLoader has two methods with almost identical 
> parameters:
>       String loadStringResource(Class<?> clazz, String key, Locale locale, 
> String style, String variation);
>       String loadStringResource(Component component, String key, Locale 
> locale, String style, String variation);
> I wonder whether we should remove one of the two, preferrably the first with 
> the class parameter, see attached patch.

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

        

Reply via email to