0.1.3-SNAPSHOT #1

Merged
ZhouXY108 merged 25 commits from dev into main 2024-08-05 08:59:30 +08:00
Showing only changes of commit 629a28ff62 - Show all commits

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;