格式化代码
parent
791b3bb14c
commit
629a28ff62
|
@ -47,7 +47,7 @@ public final class Validator<T> extends BaseValidator<T> {
|
||||||
withRule(rule, exceptionCreator);
|
withRule(rule, exceptionCreator);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final <E extends RuntimeException> Validator<T> addRule(Predicate<T> rule, Function<T, E> exceptionCreator) {
|
public final <E extends RuntimeException> Validator<T> addRule(Predicate<T> rule, Function<T, E> exceptionCreator) {
|
||||||
withRule(rule, exceptionCreator);
|
withRule(rule, exceptionCreator);
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue