Skip to content

Commit

Permalink
Update DaoGenerator.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperBeagleDog authored Nov 4, 2016
1 parent 07dbbaf commit 72f00c6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class DaoGenerator {
private Pattern patternKeepIncludes;
private Pattern patternKeepFields;
private Pattern patternKeepMethods;
private Template templateGProperty;
private Template templateGProperty;
private Template templateDao;
private Template templateDaoUtils;
private Template templateDaoMaster;
Expand All @@ -67,7 +67,7 @@ public DaoGenerator() throws IOException {
templateEntity = config.getTemplate("entity.ftl");
templateDaoUtils = config.getTemplate("dao-utils.ftl");
templateDaoUnitTest = config.getTemplate("dao-unit-test.ftl");
templateGProperty = config.getTemplate("dao-gproperty");
templateGProperty = config.getTemplate("dao-gproperty");
templateContentProvider = config.getTemplate("content-provider.ftl");
}

Expand Down Expand Up @@ -150,7 +150,7 @@ public void generateAll(Schema schema, String outDir, String outDirEntity, Strin
generate(templateDaoUtils, outDirFile,
schema.getDefaultJavaPackageDao(), schema.getPrefix() + "DaoUtils",
schema, null);
generate(templateGProperty, outDirFile,
generate(templateGProperty, outDirFile,
schema.getDefaultJavaPackageDao(), "GProperty",
schema, null);

Expand Down

0 comments on commit 72f00c6

Please sign in to comment.