jdk/src/share/classes/com/sun/tools/jdi/SDE.java
changeset 24969 afa6934dd8e8
parent 23010 6dadb192ad81
--- a/jdk/src/share/classes/com/sun/tools/jdi/SDE.java	Mon Jun 16 08:09:30 2014 -0700
+++ b/jdk/src/share/classes/com/sun/tools/jdi/SDE.java	Mon Jun 16 17:45:26 2014 +0100
@@ -56,16 +56,16 @@
                 if (sourcePath == null) {
                     sourcePath = refType.baseSourceDir() + sourceName;
                 } else {
-                    StringBuffer buf = new StringBuffer();
+                    StringBuilder sb = new StringBuilder();
                     for (int i = 0; i < sourcePath.length(); ++i) {
                         char ch = sourcePath.charAt(i);
                         if (ch == '/') {
-                            buf.append(File.separatorChar);
+                            sb.append(File.separatorChar);
                         } else {
-                            buf.append(ch);
+                            sb.append(ch);
                         }
                     }
-                    sourcePath = buf.toString();
+                    sourcePath = sb.toString();
                 }
                 isConverted = true;
             }
@@ -327,7 +327,7 @@
     }
 
     String readLine() {
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
         char ch;
 
         ignoreWhite();