Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2632

Use StringBuffer instead of StringBuilder, if no synchronization is needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • None
    • All

    Description

      Many classes in Camel uses StringBuffer to concatenate Strings. But if no synchronization is needed, StringBuilder is faster alternative.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--camel-all.patch
          40 kB
          Christian Müller
        2. ASF.LICENSE.NOT.GRANTED--camel-bindy.patch
          2 kB
          Christian Müller
        3. ASF.LICENSE.NOT.GRANTED--camel-core.patch
          16 kB
          Christian Müller
        4. ASF.LICENSE.NOT.GRANTED--camel-crypto.patch
          2 kB
          Christian Müller
        5. ASF.LICENSE.NOT.GRANTED--camel-cxf.patch
          3 kB
          Christian Müller
        6. ASF.LICENSE.NOT.GRANTED--camel-example-cafe.patch
          0.8 kB
          Christian Müller
        7. ASF.LICENSE.NOT.GRANTED--camel-example-gae.patch
          0.9 kB
          Christian Müller
        8. ASF.LICENSE.NOT.GRANTED--camel-gae.patch
          6 kB
          Christian Müller
        9. ASF.LICENSE.NOT.GRANTED--camel-hl7.patch
          5 kB
          Christian Müller
        10. ASF.LICENSE.NOT.GRANTED--camel-jms.patch
          0.7 kB
          Christian Müller
        11. ASF.LICENSE.NOT.GRANTED--camel-mina.patch
          3 kB
          Christian Müller
        12. ASF.LICENSE.NOT.GRANTED--camel-snmp.patch
          0.7 kB
          Christian Müller
        13. ASF.LICENSE.NOT.GRANTED--camel-web.patch
          1 kB
          Christian Müller

        Activity

          People

            muellerc Christian Müller
            muellerc Christian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: