Use char-append instead of String-append

This commit is contained in:
Roland Praml
2023-08-21 08:22:18 +02:00
parent caf8bd0c0f
commit dede93ca62
58 changed files with 123 additions and 123 deletions
@@ -79,9 +79,9 @@ class SimpleModuleInfoWriter {
StringBuilder builder = new StringBuilder("entity-packages: ");
for (String pkg : allEntityPackages) {
// one package per line
builder.append(pkg).append("\n").append(" ");
builder.append(pkg).append('\n').append(" ");
}
return builder.delete(builder.lastIndexOf("\n"), builder.length()).append("\n").toString();
return builder.delete(builder.lastIndexOf("\n"), builder.length()).append('\n').toString();
}
private void writePackage() {