From 152ce8b24e01144291008b3c6d3bd0d1081a3705 Mon Sep 17 00:00:00 2001 From: chenc Date: Thu, 15 Oct 2020 14:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8F=90=E4=BA=A4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=BC=A9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/hutool/core/lang/Assert.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hutool-core/src/main/java/cn/hutool/core/lang/Assert.java b/hutool-core/src/main/java/cn/hutool/core/lang/Assert.java index 823750243..83b0ce9a6 100644 --- a/hutool-core/src/main/java/cn/hutool/core/lang/Assert.java +++ b/hutool-core/src/main/java/cn/hutool/core/lang/Assert.java @@ -101,7 +101,7 @@ public class Assert { */ public static void isFalse(boolean expression, Supplier errorMsgSupplier) throws IllegalArgumentException { if (expression) { - isFalse(true,errorMsgSupplier.get()); + isFalse(true, errorMsgSupplier.get()); } } /** @@ -151,7 +151,7 @@ public class Assert { */ public static void isNull(Object object, Supplier errorMsgSupplier) throws IllegalArgumentException { if (object != null) { - isNull(object,errorMsgSupplier.get()); + isNull(object, errorMsgSupplier.get()); } } /** @@ -205,7 +205,7 @@ public class Assert { */ public static T notNull(T object, Supplier errorMsgSupplier) throws IllegalArgumentException { if (object == null) { - notNull(null,errorMsgSupplier.get()); + notNull(null, errorMsgSupplier.get()); } return object; } @@ -266,7 +266,7 @@ public class Assert { */ public static T notEmpty(T text, Supplier errorMsgSupplier) throws IllegalArgumentException { if (StrUtil.isEmpty(text)) { - notEmpty(text,errorMsgSupplier.get()); + notEmpty(text, errorMsgSupplier.get()); } return text; } @@ -327,7 +327,7 @@ public class Assert { */ public static T notBlank(T text, Supplier errorMsgSupplier) throws IllegalArgumentException { if (StrUtil.isBlank(text)) { - notBlank(text,errorMsgSupplier.get()); + notBlank(text, errorMsgSupplier.get()); } return text; }