Fixed mistake in list building.
This commit is contained in:
parent
61d913c3e8
commit
54225f84f6
1 changed files with 1 additions and 1 deletions
|
@ -2064,7 +2064,7 @@ public class StringList extends ArrayList<String> implements CharSequence, Appen
|
|||
buffer.append(separator);
|
||||
}
|
||||
|
||||
if (separator != null)
|
||||
if ((separator != null) && (!isEmpty()))
|
||||
{
|
||||
buffer.removeLast();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue