mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
波尔值 -> 布尔值
This commit is contained in:
@@ -23,7 +23,7 @@ public class Assert {
|
|||||||
* Assert.isTrue(i > 0, "The value must be greater than zero");
|
* Assert.isTrue(i > 0, "The value must be greater than zero");
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param expression 波尔值
|
* @param expression 布尔值
|
||||||
* @param errorMsgTemplate 错误抛出异常附带的消息模板,变量用{}代替
|
* @param errorMsgTemplate 错误抛出异常附带的消息模板,变量用{}代替
|
||||||
* @param params 参数列表
|
* @param params 参数列表
|
||||||
* @throws IllegalArgumentException if expression is {@code false}
|
* @throws IllegalArgumentException if expression is {@code false}
|
||||||
@@ -41,7 +41,7 @@ public class Assert {
|
|||||||
* Assert.isTrue(i > 0, "The value must be greater than zero");
|
* Assert.isTrue(i > 0, "The value must be greater than zero");
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param expression 波尔值
|
* @param expression 布尔值
|
||||||
* @throws IllegalArgumentException if expression is {@code false}
|
* @throws IllegalArgumentException if expression is {@code false}
|
||||||
*/
|
*/
|
||||||
public static void isTrue(boolean expression) throws IllegalArgumentException {
|
public static void isTrue(boolean expression) throws IllegalArgumentException {
|
||||||
@@ -55,7 +55,7 @@ public class Assert {
|
|||||||
* Assert.isFalse(i < 0, "The value must be greater than zero");
|
* Assert.isFalse(i < 0, "The value must be greater than zero");
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param expression 波尔值
|
* @param expression 布尔值
|
||||||
* @param errorMsgTemplate 错误抛出异常附带的消息模板,变量用{}代替
|
* @param errorMsgTemplate 错误抛出异常附带的消息模板,变量用{}代替
|
||||||
* @param params 参数列表
|
* @param params 参数列表
|
||||||
* @throws IllegalArgumentException if expression is {@code false}
|
* @throws IllegalArgumentException if expression is {@code false}
|
||||||
@@ -73,7 +73,7 @@ public class Assert {
|
|||||||
* Assert.isFalse(i < 0);
|
* Assert.isFalse(i < 0);
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param expression 波尔值
|
* @param expression 布尔值
|
||||||
* @throws IllegalArgumentException if expression is {@code false}
|
* @throws IllegalArgumentException if expression is {@code false}
|
||||||
*/
|
*/
|
||||||
public static void isFalse(boolean expression) throws IllegalArgumentException {
|
public static void isFalse(boolean expression) throws IllegalArgumentException {
|
||||||
|
Reference in New Issue
Block a user