OSDN Git Service

libjava/ChangeLog:
[pf3gnuchains/gcc-fork.git] / libjava / classpath / examples / gnu / classpath / examples / CORBA / SimpleCommunication / communication / DirectTest.java
index 732b00c..843530d 100644 (file)
@@ -269,7 +269,7 @@ public class DirectTest
     object.passTree(nh);
 
     // Convert the returned tree to some strig representation.
-    StringBuffer img = new StringBuffer();
+    StringBuilder img = new StringBuilder();
     getImage(img, nh.value);
 
     System.out.println("Returned tree: " + img.toString());
@@ -314,7 +314,7 @@ public class DirectTest
    * @param b the string buffer to accumulate the representation.
    * @param n the tree (root TreeNode).
    */
-  private void getImage(StringBuffer b, TreeNode n)
+  private void getImage(StringBuilder b, TreeNode n)
   {
     b.append(n.name);
     b.append(": (");