Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-740

Replace StringBuffer with StringBuilder

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6.0
    • Component/s: Engine
    • Labels:
      None

      Description

      In 2004 Java 5.0 was released with a note in StringBuffer's Javadoc

      > As of release JDK 5, this class has been supplemented with an equivalent class designed for use by a single thread, StringBuilder. The StringBuilder class should generally be used in preference to this one, as it supports all of the same operations but it is faster, as it performs no synchronization.

      Perhaps its is time to use StringBuilder as it is a drop in replacement. esp as this class is used heavily.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chrjohn Christoph John
                Reporter:
                peter.lawrey Peter Lawrey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: