Use append() without string concatentation in MultiUIDefaults.toString

XMLWordPrintable

      The implementation of MultiUIDefaults.toString() has the following code:

              while (keys.hasMoreElements()) {
                  Object key = keys.nextElement();
                  sb.append(key + "=" + get(key) + ", ");
              }

      The result of string concatenation is appended to StringBuilder, which creates another instance of StringBuilder to perform concatenation.

            Assignee:
            Alexey Ivanov
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: