docs: 统一参数描述
This commit is contained in:
parent
b6d47f0d00
commit
a315edf88f
@ -82,7 +82,7 @@ public abstract class BaseComparablePropertyValidator<
|
|||||||
*
|
*
|
||||||
* @param <X> 自定义异常类型
|
* @param <X> 自定义异常类型
|
||||||
* @param range 区间
|
* @param range 区间
|
||||||
* @param exceptionFunction 根据属性值生成异常的函数
|
* @param exceptionFunction 自定义异常
|
||||||
* @return 当前校验器实例,用于链式调用
|
* @return 当前校验器实例,用于链式调用
|
||||||
*/
|
*/
|
||||||
public final <X extends RuntimeException> TPropertyValidator inRange(
|
public final <X extends RuntimeException> TPropertyValidator inRange(
|
||||||
|
@ -108,7 +108,7 @@ public abstract class BasePropertyValidator<
|
|||||||
*
|
*
|
||||||
* @param <X> 自定义异常类型
|
* @param <X> 自定义异常类型
|
||||||
* @param condition 校验条件
|
* @param condition 校验条件
|
||||||
* @param exceptionFunction 自定义异常(以当前属性值为参数)
|
* @param exceptionFunction 自定义异常
|
||||||
* @return 当前校验器实例,用于链式调用
|
* @return 当前校验器实例,用于链式调用
|
||||||
*/
|
*/
|
||||||
protected final <X extends RuntimeException> TPropertyValidator withRule(
|
protected final <X extends RuntimeException> TPropertyValidator withRule(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user