波尔值 -> 布尔值

This commit is contained in:
zz 2019-12-10 22:01:42 +08:00
parent a5e9f119b6
commit 99ac13584e

View File

@ -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 &gt; 0, "The value must be greater than zero"); * Assert.isTrue(i &gt; 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 &lt; 0, "The value must be greater than zero"); * Assert.isFalse(i &lt; 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 &lt; 0); * Assert.isFalse(i &lt; 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 {