From 95a474847d880a6b12b0d9f39a6eead71a327b61 Mon Sep 17 00:00:00 2001 From: Suomm <1474983351@qq.com> Date: Wed, 21 Jun 2023 22:13:00 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=B0=83=E6=95=B4=E7=A7=81=E6=9C=89?= =?UTF-8?q?=E6=9E=84=E9=80=A0=E5=99=A8=E4=BD=8D=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mybatisflex/codegen/constant/GenTypeConst.java | 7 +++---- .../com/mybatisflex/codegen/constant/TemplateConst.java | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) 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