Fixes incorrect generation of JavaScriptBody in minified mode

This commit is contained in:
konsoletyper 2014-02-25 15:52:40 +04:00
parent 03bc2e2e07
commit 753bb4b23e

View File

@ -57,7 +57,7 @@ public class JavaScriptBodyGenerator implements Generator {
writer.append(",").ws();
wrapParameter(writer, context.getParameterName(i + 1));
}
writer.append(")").softNewLine();
writer.append(");").softNewLine();
writer.append("return ");
unwrapValue(writer, method.getResultType(), "result");
writer.append(";").softNewLine();