MYFACES-3672 TODO 'optimize this code' in ResourceHandlerImpl.isResourceIdentifierExcluded() (Thanks to dennis hoersch for provide this patch)

git-svn-id: https://svn.apache.org/repos/asf/myfaces/core/trunk@1433542 13f79535-47bb-0310-9956-ffa450edef68