From e6b89806f41974d9dd322e6cbe351845db6ab42e Mon Sep 17 00:00:00 2001 From: Looly Date: Mon, 15 Aug 2022 09:12:54 +0800 Subject: [PATCH] fix doc --- .../java/cn/hutool/core/collection/CollUtil.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java b/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java index 37b70e4ff..cefedc5f4 100755 --- a/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java +++ b/hutool-core/src/main/java/cn/hutool/core/collection/CollUtil.java @@ -2078,13 +2078,13 @@ public class CollUtil { /** * 一个对象不为空且不存在于该集合中时,加入到该集合中
*
-	 *     null, null => false
-	 *     [], null => false
-	 *     null, "123" => false
-	 *     ["123"], "123" => false
-	 *     [], "123" => true
-	 *     ["456"], "123" => true
-	 *     [Animal{"name": "jack"}], Dog{"name": "jack"} => true
+	 *     null, null -> false
+	 *     [], null -> false
+	 *     null, "123" -> false
+	 *     ["123"], "123" -> false
+	 *     [], "123" -> true
+	 *     ["456"], "123" -> true
+	 *     [Animal{"name": "jack"}], Dog{"name": "jack"} -> true
 	 * 
* @param collection 被加入的集合 * @param object 要添加到集合的对象