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

Replace uses of StringBuffer with StringBuilder in java.xml

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: