[perf] minimize FacesContext.getCurrentInstance() calls
-------------------------------------------------------

                 Key: MYFACES-3492
                 URL: https://issues.apache.org/jira/browse/MYFACES-3492
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-314
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


It is good for performance to reduce the ammount of calls to 
FacesContext.getCurrentInstance(). There are some indirected ways to trigger 
that call without warning using getClientId(). The idea is pass or cache 
facesContext when possible.

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