[ 
https://issues.apache.org/jira/browse/MYFACES-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590881#action_12590881
 ] 

Valeriy Molyakov commented on MYFACES-1862:
-------------------------------------------

MyFaces core 1.1 should work with JDK 1.4.x
The StringBuilder API is available since Java 5



> Use ThreadLocal StringBuilder for create ids on getClientId, like in trinidad
> -----------------------------------------------------------------------------
>
>                 Key: MYFACES-1862
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1862
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 1.1.5, 1.2.2
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For:  1.1.6-SNAPSHOT, 1.2.3-SNAPSHOT
>
>
> Trinidad uses a ThreadLocal StringBuilder variable to concatenate the values 
> to get the client id, like this:
>         StringBuilder bld = __getSharedStringBuilder();
>         
> bld.append(contClientId).append(NamingContainer.SEPARATOR_CHAR).append(clientId);
>         clientId = bld.toString();
> We should do something similar for myfaces, because it gives us a performance 
> enhancement.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to