Fixed mistake in list building.

This commit is contained in:
Christian P. MOMON 2021-01-15 17:43:34 +01:00
parent 61d913c3e8
commit 54225f84f6

View file

@ -2064,7 +2064,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
buffer.append(separator); buffer.append(separator);
} }
if (separator != null) if ((separator != null) && (!isEmpty()))
{ {
buffer.removeLast(); buffer.removeLast();
} }