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

(coll) Collection toString method optimizations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs

      We introduced StringBuilder as an unsynchronized version of StringBuffer.
      The collections toString methods should use this instead of StringBuffer.
      Classes:

      Hashtable
      AbstractCollection
      AbstractMap
      CopyOnWriteArrayList

      There are a number of other minor optimizations, like using
      append(']') in place of append("]")
      ###@###.### 2005-06-08 18:04:59 GMT

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: