jdk/src/share/classes/javax/naming/RefAddr.java
changeset 24969 afa6934dd8e8
parent 22974 4bf6c0d73bb8
--- a/jdk/src/share/classes/javax/naming/RefAddr.java	Mon Jun 16 08:09:30 2014 -0700
+++ b/jdk/src/share/classes/javax/naming/RefAddr.java	Mon Jun 16 17:45:26 2014 +0100
@@ -139,7 +139,7 @@
       * @return The non-null string representation of this address.
       */
     public String toString(){
-        StringBuffer str = new StringBuffer("Type: " + addrType + "\n");
+        StringBuilder str = new StringBuilder("Type: " + addrType + "\n");
 
         str.append("Content: " + getContent() + "\n");
         return (str.toString());