Skip to content

Commit

Permalink
Polish codegen usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Shredder121 committed Aug 12, 2016
1 parent 717ba28 commit 172f037
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ protected void constructorsForVariables(CodeWriter writer, EntityType model) thr

writer.beginConstructor(new Parameter("variable", Types.STRING),
new Parameter("schema", Types.STRING));
writer.line(SUPER, "(", writer.getClassConstant(localName) + COMMA
+ "forVariable(variable), schema, \"", model.getData().get("table") + "\");");
writer.line(SUPER, "(", writer.getClassConstant(localName), COMMA,
"forVariable(variable), schema, \"", model.getData().get("table").toString(), "\");");
constructorContent(writer, model);
writer.end();
}
Expand Down

0 comments on commit 172f037

Please sign in to comment.