Explorar o código

格式化秋秋的代码

miemie %!s(int64=6) %!d(string=hai) anos
pai
achega
9f96ab284c

+ 2 - 2
build.gradle

@@ -156,7 +156,7 @@ subprojects {
                     name = 'mybatis-plus'
                     packaging 'jar'
                     description = 'An enhanced toolkit of Mybatis to simplify development.'
-                    url =  'https://github.com/baomidou/mybatis-plus'
+                    url = 'https://github.com/baomidou/mybatis-plus'
                     licenses {
                         license {
                             name = 'The Apache License, Version 2.0'
@@ -172,7 +172,7 @@ subprojects {
                     licenses {
                         license {
                             name = 'The Apache License, Version 2.0'
-                            url =  'http://www.apache.org/licenses/LICENSE-2.0.txt'
+                            url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
                         }
                     }
 

+ 1 - 1
mybatis-plus-boot-starter/build.gradle

@@ -2,5 +2,5 @@ dependencies {
     compile project(":mybatis-plus")
     compile rootProject.ext.dependencies["springboot-autoconfigure"]
     compile rootProject.ext.dependencies["springboot-starter-jdbc"]
-    compile rootProject.ext.dependencies["springboot-configuration-processor"],optional
+    compile rootProject.ext.dependencies["springboot-configuration-processor"], optional
 }

+ 3 - 4
mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/MybatisConfiguration.java

@@ -15,6 +15,8 @@
  */
 package com.baomidou.mybatisplus.core;
 
+import com.baomidou.mybatisplus.core.config.GlobalConfig;
+import com.baomidou.mybatisplus.core.toolkit.IdWorker;
 import org.apache.ibatis.binding.MapperRegistry;
 import org.apache.ibatis.logging.Log;
 import org.apache.ibatis.logging.LogFactory;
@@ -22,9 +24,6 @@ import org.apache.ibatis.mapping.MappedStatement;
 import org.apache.ibatis.session.Configuration;
 import org.apache.ibatis.session.SqlSession;
 
-import com.baomidou.mybatisplus.core.config.GlobalConfig;
-import com.baomidou.mybatisplus.core.toolkit.IdWorker;
-
 /**
  * <p>
  * replace default Configuration class
@@ -68,7 +67,7 @@ public class MybatisConfiguration extends Configuration {
             System.out.println(" _ _   |_  _ _|_. ___ _ |    _ ");
             System.out.println("| | |\\/|_)(_| | |_\\  |_)||_|_\\ ");
             System.out.println("     /               |         ");
-            System.out.println("                        "+MybatisPlusVersion.getVersion()+" ");
+            System.out.println("                        " + MybatisPlusVersion.getVersion() + " ");
         }
     }
 

+ 2 - 2
mybatis-plus-generator/build.gradle

@@ -1,8 +1,8 @@
 dependencies {
     compile project(":mybatis-plus-extension")
 
-    compile rootProject.ext.dependencies["velocity"],optional
-    compile rootProject.ext.dependencies["freemarker"],optional
+    compile rootProject.ext.dependencies["velocity"], optional
+    compile rootProject.ext.dependencies["freemarker"], optional
 
     testCompile rootProject.ext.dependencies["sqlserver"]
     testCompile rootProject.ext.dependencies["postgresql"]