Merge pull request #33 from bouil/fix/syntaxError

Fix syntax error in method with return type in ScalaWriter
This commit is contained in:
John Tims 2015-09-06 11:00:17 -04:00
commit c93943fb20

View File

@ -295,7 +295,7 @@ public class ScalaWriter extends AbstractCodeWriter<ScalaWriter> {
beginLine(modifiers, escape(methodName)).params(args).append(" {").nl();
} else {
beginLine(modifiers, escape(methodName)).params(args)
.append(": ").append(getGenericName(true, returnType)).append(" {").nl();
.append(": ").append(getGenericName(true, returnType)).append(" = {").nl();
}
return goIn();