!83 注释修改

Merge pull request !83 from zz/v5-dev
This commit is contained in:
Looly 2019-12-11 11:47:27 +08:00 committed by Gitee
commit 827e2a8dc4

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 {