Reverted r2884.
If someone wants to use StringUtil.toString(), let them get the openBox/closeBox/separators they were expected. Gee, I hope r2885 didn't beak any Log parsing code... git-svn-id: https://samskivert.googlecode.com/svn/trunk@2886 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -531,9 +531,6 @@ public class StringUtil
|
||||
}
|
||||
buf.append(closeBox);
|
||||
|
||||
} else if (val instanceof Collection<?>) {
|
||||
buf.append(val); // Collections should have reasonable toStrings
|
||||
|
||||
} else if (val instanceof Iterable<?>) {
|
||||
toString(buf, ((Iterable<?>)val).iterator(), openBox, closeBox);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user