joinArgs method
if more than one element add trailing ','
Implementation
String joinArgs() {
if (isEmpty) {
return '';
} else if (length == 1) {
return first;
} else {
return join(', ') + ',';
}
}
if more than one element add trailing ','
String joinArgs() {
if (isEmpty) {
return '';
} else if (length == 1) {
return first;
} else {
return join(', ') + ',';
}
}