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 db909ff93f - Show all commits

View File

@ -45,7 +45,7 @@ public class CollectionValidator<DTO, T> extends PropertyValidator<DTO, Collecti
Function<Collection<T>, E> exceptionCreator) {
withRule(value -> {
if (value == null) {
return false;
return true;
}
return ((Collection<?>) value).isEmpty();
}, exceptionCreator);