Hey Simon, currently there is a built-in StringBuilder type class. This was done because it was origionally written for JDK 1.4. Can you remove that class and use the REAL StringBuilder? If I remember, it should be a direct replacement.

Scott

Simon Lessard (JIRA) wrote:
[ https://issues.apache.org/jira/browse/PORTLETBRIDGE-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543192 ]
Simon Lessard commented on PORTLETBRIDGE-6:
-------------------------------------------

Actually I'm gonna sensor myself for 30 minutes, I forgot to look on 
StringBuffer issues. Creating a new patch now.

JDK 1.5 Functionality
---------------------

                Key: PORTLETBRIDGE-6
                URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-6
            Project: MyFaces Portlet Bridge
         Issue Type: Improvement
         Components: General
   Affects Versions: 1.0.0-SNAPSHOT
           Reporter: Scott O'Bryan
           Assignee: Simon Lessard
        Attachments: PORTLETBRIDGE-6.patch


The bridge was originally coded to the JDK1.4 standard.  Since JSF1.2 requires 
JDK5, we should follow the JDK5 standards for speed and reliability.  Most 
notibly:
* Specify generics wherever possible - especially in the ExternalContext 
implementations which use this by default
* Remove the SimpleStringBuilder class in impl and replace it's usage with 
StringBuilder


Reply via email to