Chain append calls

This commit is contained in:
Ossian Winter 2021-01-27 15:23:34 +01:00
parent 64389cf664
commit 787e803ef3
No known key found for this signature in database
GPG Key ID: 1017BE95C68A39F9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public final class JavaScriptCommand extends Command {
for (int i = 1; i < split.length; i++) {
final String s = split[i];
sb.append(s + (i == split.length - 1 ? "" : " "));
sb.append(s).append(i == split.length - 1 ? "" : " ");
}
final String syntax = sb.toString();