[
https://issues.apache.org/jira/browse/MYFACES-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe updated MYFACES-3478:
------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.7
2.0.13
Status: Resolved (was: Patch Available)
Thanks to Martin Koci for provide this patch
> [perf] Replace HashSet with EnumSet for VisitHints
> --------------------------------------------------
>
> Key: MYFACES-3478
> URL: https://issues.apache.org/jira/browse/MYFACES-3478
> Project: MyFaces Core
> Issue Type: Improvement
> Reporter: Martin Kočí
> Assignee: Martin Kočí
> Priority: Trivial
> Fix For: 2.0.13, 2.1.7
>
> Attachments: DefaultFaceletsStateManagementStrategy.patch,
> DefaultRestoreViewSupport.patch, PartialViewContextImpl.patch
>
>
> hints = new HashSet();
> hints.add(VisitHint.SKIP_UNRENDERED)
> can be replaced with EnumSet.of(...).
> The result is safe to multiple threads (with read operations) - a constant
> can be used instead of new instance every time.
--
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