[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čí
Priority: Trivial
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