diff --git a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/GenTypeConst.java b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/GenTypeConst.java index e91969cf..e06ae201 100644 --- a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/GenTypeConst.java +++ b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/GenTypeConst.java @@ -23,6 +23,9 @@ package com.mybatisflex.codegen.constant; */ public class GenTypeConst { + private GenTypeConst() { + } + public static final String ENTITY = "entity"; public static final String MAPPER = "mapper"; public static final String SERVICE = "service"; @@ -32,8 +35,4 @@ public class GenTypeConst { public static final String MAPPER_XML = "mapperXml"; public static final String PACKAGE_INFO = "package-info"; - - private GenTypeConst() { - } - } \ No newline at end of file diff --git a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/TemplateConst.java b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/TemplateConst.java index 21a14621..f2a929d2 100644 --- a/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/TemplateConst.java +++ b/mybatis-flex-codegen/src/main/java/com/mybatisflex/codegen/constant/TemplateConst.java @@ -24,6 +24,9 @@ package com.mybatisflex.codegen.constant; */ public final class TemplateConst { + private TemplateConst() { + } + public static final String ENTITY = "/templates/enjoy/entity.tpl"; public static final String MAPPER = "/templates/enjoy/mapper.tpl"; public static final String SERVICE = "/templates/enjoy/service.tpl"; @@ -33,7 +36,4 @@ public final class TemplateConst { public static final String MAPPER_XML = "/templates/enjoy/mapperXml.tpl"; public static final String PACKAGE_INFO = "/templates/enjoy/package-info.tpl"; - private TemplateConst() { - } - } \ No newline at end of file