{
System.out.println("SERVER: ***** Transferring tree");
- StringBuffer b = new StringBuffer();
+ StringBuilder b = new StringBuilder();
// This both creates the tree string representation
// and changes the TreeNode names.
* @param b the buffer to collect the string representation.
* @param n the rott tree TreeNode.
*/
- private void getImage(StringBuffer b, TreeNode n)
+ private void getImage(StringBuilder b, TreeNode n)
{
b.append(n.name);
n.name = n.name + "++";