We should be toString-ing right into our StringBuilder and using the specified

open and close boxes for the internal elements of our sequences.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2693 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-01-11 05:19:38 +00:00
parent 818e108f99
commit 7480bb2e6c
+3 -3
View File
@@ -513,7 +513,7 @@ public class StringUtil
if (i > 0) {
buf.append(sep);
}
buf.append(toString(v[i]));
toString(buf, v[i], openBox, closeBox);
}
buf.append(closeBox);
@@ -538,7 +538,7 @@ public class StringUtil
if (i > 0) {
buf.append(sep);
}
buf.append(toString(iter.next()));
toString(buf, iter.next(), openBox, closeBox);
}
buf.append(closeBox);
@@ -549,7 +549,7 @@ public class StringUtil
if (i > 0) {
buf.append(sep);
}
buf.append(toString(enm.nextElement()));
toString(buf, enm.nextElement(), openBox, closeBox);
}
buf.append(closeBox);