瀏覽代碼

Merge branch 'dev' of https://git.oschina.net/juapk/mybatis-plus.git into dev

hubin 9 年之前
父節點
當前提交
349cd9ad11
共有 2 個文件被更改,包括 14 次插入1 次删除
  1. 13 0
      LICENSE
  2. 1 1
      mybatis-plus/src/main/java/com/baomidou/mybatisplus/toolkit/StringUtils.java

+ 13 - 0
LICENSE

@@ -0,0 +1,13 @@
+Copyright 2011-2016 HuBin
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.

+ 1 - 1
mybatis-plus/src/main/java/com/baomidou/mybatisplus/toolkit/StringUtils.java

@@ -66,7 +66,7 @@ public class StringUtils {
      * @return 转换好的字符串
      * @return 转换好的字符串
      */
      */
     public static String camelToUnderline(String param) {
     public static String camelToUnderline(String param) {
-        if (StringUtils.isEmpty(param)) {
+        if (isEmpty(param)) {
             return "";
             return "";
         }
         }
         int len = param.length();
         int len = param.length();