格式化代码

This commit is contained in:
zhouxy108 2023-09-10 16:42:45 +08:00
parent 791b3bb14c
commit 629a28ff62

View File

@ -47,7 +47,7 @@ public final class Validator<T> extends BaseValidator<T> {
withRule(rule, exceptionCreator);
return this;
}
public final <E extends RuntimeException> Validator<T> addRule(Predicate<T> rule, Function<T, E> exceptionCreator) {
withRule(rule, exceptionCreator);
return this;