You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2011/09/27 00:05:12 UTC

[jira] [Resolved] (MYFACES-3328) [perf] FlashELResolver should get FacesContext instance when it is necessary

     [ https://issues.apache.org/jira/browse/MYFACES-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3328.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4
                   2.0.10
    
> [perf] FlashELResolver should get FacesContext instance when it is necessary
> ----------------------------------------------------------------------------
>
>                 Key: MYFACES-3328
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3328
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.10, 2.1.4
>
>
> By performance reasons, FlashELResolver should get FacesContext instance when it is necessary. Just moving some lines we can save a map.get() call per each evaluation. Additionally, a check for null should be added too.

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