浏览代码

fix comment

Looly 5 年之前
父节点
当前提交
03689be5fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hutool-core/src/main/java/cn/hutool/core/util/StrUtil.java

+ 1 - 1
hutool-core/src/main/java/cn/hutool/core/util/StrUtil.java

@@ -481,7 +481,7 @@ public class StrUtil {
 	}
 
 	/**
-	 * 除去字符串头尾部的空白,如果字符串是{@code null},返回<code>""</code>
+	 * 除去字符串头尾部的空白,如果字符串是{@code null}或者"",返回{@code null}
 	 *
 	 * <pre>
 	 * StrUtil.trimToNull(null)          = null