Fixed Java code export indentation

This commit is contained in:
Jindra Petřík
2022-11-08 22:47:13 +01:00
parent 0858d286ca
commit 607ec92d0e
2 changed files with 6 additions and 2 deletions
@@ -243,9 +243,12 @@ public class SwfJavaExporter {
}
writer.append("private ").append(className).append(" ").append(tagObjName).append("(").append(isSwf ? "" : "SWF swf").append(") {").newLine();
writer.indent();
writer.append(className).append(" ").append(resultName).append(" = new ").append(className).append("(").append(obj instanceof Tag ? "swf" : "").append(");").newLine();
writer.indent();
writer.append(className).append(" ").append(resultName).append(" = new ").append(className).append("(").append(obj instanceof Tag ? "swf" : "").append(");");
writer.unindent().unindent();
writer.newLine();
writer.append(sb2.toString());
writer.indent().indent();
writer.append(indent).append("return ").append(resultName).append(";").newLine();
writer.unindent();
writer.append("}").newLine().newLine();