Commit 8766714f authored by liaozan's avatar liaozan 🏀

Update ValidateUtils isTrue/isFalse error message

parent 939b0c81
...@@ -16,7 +16,7 @@ public class ValidateUtils { ...@@ -16,7 +16,7 @@ public class ValidateUtils {
} }
public static void isTrue(boolean expression) { public static void isTrue(boolean expression) {
isTrue(expression, "操作有误"); isTrue(expression, "The validated object is false");
} }
public static void isTrue(boolean expression, String message) { public static void isTrue(boolean expression, String message) {
...@@ -30,7 +30,7 @@ public class ValidateUtils { ...@@ -30,7 +30,7 @@ public class ValidateUtils {
} }
public static void isFalse(boolean expression) { public static void isFalse(boolean expression) {
isFalse(expression, "操作有误"); isFalse(expression, "The validated object is true");
} }
public static void isFalse(boolean expression, String message) { public static void isFalse(boolean expression, String message) {
...@@ -183,4 +183,4 @@ public class ValidateUtils { ...@@ -183,4 +183,4 @@ public class ValidateUtils {
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment