UIComponentBase isIdValid can be improved
-----------------------------------------

         Key: MYFACES-1316
         URL: http://issues.apache.org/jira/browse/MYFACES-1316
     Project: MyFaces Core
        Type: Improvement

  Components: General  
    Versions: 1.1.1    
 Environment: Linux 2.6.11
    Reporter: Neelesh
    Priority: Minor


isIdValid in UIComponentBase.java is called for every component that you 
dynamically create.
It checks for i == 0 within a loop which can be done once outside of the loop 
to improve its performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to