Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274525

Replace uses of StringBuffer with StringBuilder in java.xml

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 18
    • None
    • xml
    • None
    • b18

      StringBuffer is a legacy synchronized class. There are more modern alternatives which perform better:
      1. Plain String concatenation should be preferred
      2. StringBuilder is a direct replacement to StringBuffer which generally have better performance

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: