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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user