Martin Grigorov created WICKET-4640:
---------------------------------------
Summary: ResourceBundleReference doesn't need a ResourceReference
as constructor parameter
Key: WICKET-4640
URL: https://issues.apache.org/jira/browse/WICKET-4640
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 6.0.0-beta2
Reporter: Martin Grigorov
Assignee: Martin Grigorov
org.apache.wicket.resource.bundles.ResourceBundleReference#ResourceBundleReference
uses the passed ResourceReference just to read its scope, name, style, locale
and variation.
A reference to this ResRef is stored but never used or exposed via getter.
I see no reason to create a ResRef to pass it to ResBundleRef while the user
can just pass the attributes.
--
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