(coll) Collection toString method optimizations

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: