You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Christian Mueller (JIRA)" <ji...@apache.org> on 2010/04/11 19:34:43 UTC
[jira] Created: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Use StringBuffer instead of StringBuilder, if no synchronization is needed
--------------------------------------------------------------------------
Key: CAMEL-2632
URL: https://issues.apache.org/activemq/browse/CAMEL-2632
Project: Apache Camel
Issue Type: Improvement
Environment: All
Reporter: Christian Mueller
Assignee: Christian Mueller
Priority: Minor
Fix For: 2.3.0
Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-example-gae.patch
The suggested patch for camel-example-gae
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-example-cafe.patch, camel-example-gae.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-bindy.patch
The suggested patch for camel-bindy
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58789#action_58789 ]
Claus Ibsen commented on CAMEL-2632:
------------------------------------
Thanks Christian.
Can you attach a single patch for them all?
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-example-cafe.patch, camel-example-gae.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-crypto.patch
The suggested patch for camel-crypto
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-jms.patch
The suggested patch for camel-jms
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-hl7.patch
The suggested patch for camel-hl7
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-gae.patch, camel-hl7.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-snmp.patch
The suggested patch for camel-snmp
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-gae.patch
The suggested patch for camel-gae
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-gae.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2632.
--------------------------------
Resolution: Fixed
trunk: 933507.
Thanks Christian for the patch.
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-all.patch, camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-example-cafe.patch, camel-example-gae.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-web.patch
The suggested patch for camel-web
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-core.patch
The suggested patch for camel-core
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-core.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-mina.patch
The suggested patch for camel-mina
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58797#action_58797 ]
Christian Mueller commented on CAMEL-2632:
------------------------------------------
Sure. I will apply the patch in the evening.
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-example-cafe.patch, camel-example-gae.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-cxf.patch
The suggested patch for camel-cxf
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-example-cafe.patch
The suggested patch for camel-example-cafe
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-example-cafe.patch, camel-example-gae.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CAMEL-2632) Use StringBuffer instead of
StringBuilder, if no synchronization is needed
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller updated CAMEL-2632:
-------------------------------------
Attachment: camel-all.patch
Attached the patch for all componentes
> Use StringBuffer instead of StringBuilder, if no synchronization is needed
> --------------------------------------------------------------------------
>
> Key: CAMEL-2632
> URL: https://issues.apache.org/activemq/browse/CAMEL-2632
> Project: Apache Camel
> Issue Type: Improvement
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: camel-all.patch, camel-bindy.patch, camel-core.patch, camel-crypto.patch, camel-cxf.patch, camel-example-cafe.patch, camel-example-gae.patch, camel-gae.patch, camel-hl7.patch, camel-jms.patch, camel-mina.patch, camel-snmp.patch, camel-web.patch
>
>
> Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira