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 (JIRA)" <de...@myfaces.apache.org> on 2013/01/15 18:32:13 UTC
[jira] [Resolved] (MYFACES-3672) TODO 'optimize this code' in
ResourceHandlerImpl.isResourceIdentifierExcluded()
[ https://issues.apache.org/jira/browse/MYFACES-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3672.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.11
2.0.17
Assignee: Leonardo Uribe
Thanks to Dennis Hoersch for provide this patch.
> TODO 'optimize this code' in ResourceHandlerImpl.isResourceIdentifierExcluded()
> -------------------------------------------------------------------------------
>
> Key: MYFACES-3672
> URL: https://issues.apache.org/jira/browse/MYFACES-3672
> Project: MyFaces Core
> Issue Type: Improvement
> Reporter: dennis hoersch
> Assignee: Leonardo Uribe
> Priority: Minor
> Fix For: 2.0.17, 2.1.11
>
> Attachments: MYFACES-3672-patch.txt
>
>
> There is a small TODO 'optimize this code'-Comment in ResourceHandlerImpl.isResourceIdentifierExcluded().
> I saw (randomly) that and replaced it with the attached patch. It just saves the Array of exclude resource extensions instead of creating it newly on every method call.
> Maybe it's worth replacing it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira