Minor correction to prevent useless comma at beginning of string, created from list

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8059 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
cominch 13 years ago
parent 5581be12fb
commit 2236e01137

@ -133,7 +133,8 @@ public class ListManager {
final Iterator<String> it = col.iterator();
str.append(it.next());
while(it.hasNext()) {
str.append(',').append(it.next());
if (str.length() > 0) str.append(',');
str.append(it.next());
}
}

Loading…
Cancel
Save