Allow joinList to understand Collections.

This commit is contained in:
snowleo 2011-11-29 18:40:13 +01:00
parent e5435f24db
commit 57a0ec9912
2 changed files with 4 additions and 4 deletions

View file

@ -376,9 +376,9 @@ public class Util
buf.append(seperator);
}
if (each instanceof List)
if (each instanceof Collection)
{
buf.append(joinList(seperator, ((List)each).toArray()));
buf.append(joinList(seperator, ((Collection)each).toArray()));
}
else
{