mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-09 21:13:03 +08:00
Merge pull request #33 from bouil/fix/syntaxError
Fix syntax error in method with return type in ScalaWriter
This commit is contained in:
commit
c93943fb20
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user