Eliminate double-spaced output from Textifier

parent f86d1ce7
Pipeline #2573 passed with stage
in 7 minutes and 20 seconds
......@@ -4,7 +4,11 @@ build/
# Files generated by Eclipse
**/.classpath
**/.gitignore
**/.project
**/.settings/
**/bin/
# Files generated by IntelliJ
.idea/
out/
*.iml
......@@ -191,13 +191,12 @@ public class Textifier extends Printer {
if (superName != null && !"java/lang/Object".equals(superName)) {
stringBuilder.append(" extends ");
appendDescriptor(INTERNAL_NAME, superName);
stringBuilder.append(' ');
}
if (interfaces != null && interfaces.length > 0) {
stringBuilder.append(" implements ");
for (int i = 0; i < interfaces.length; ++i) {
appendDescriptor(INTERNAL_NAME, interfaces[i]);
stringBuilder.append(' ');
if (i != interfaces.length - 1) stringBuilder.append(' ');
}
}
stringBuilder.append(" {\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment