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

Update BigDecimal and BigInteger to use StringBuilder instead of StringBuffer

XMLWordPrintable

    • b32
    • generic
    • generic

      The BigDecimal and BigInteger classes were written to use StringBuffer's internally while generating a String to output. Since all the operations on those StringBuffers occur within a single method and the StringBuffer does not escape the method, these uses of StringBuffer should be replaced with the unsynchronized StringBuilder.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: