[
https://issues.apache.org/jira/browse/MYFACES-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Kočí updated MYFACES-3478:
---------------------------------
Status: Patch Available (was: Open)
> [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
> 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