After updating from 1.1.3 to 2.1.3 it is no longer possible to pass null to EmailAddressValidator.isValid(String):
java.lang.IllegalArgumentException: Implicit NotNull argument 0 of org/hazlewood/connor/bottema/emailaddress/EmailAddressValidator.isValid must not be null
at org.hazlewood.connor.bottema.emailaddress.EmailAddressValidator.isValid(EmailAddressValidator.java)
I guess this is not intended because EmailAddressValidator.isValid(String, EnumSet<EmailAddressCriteria) still allows null for the first parameter, but isValid and isValidStrict do not.
After updating from
1.1.3
to2.1.3
it is no longer possible to passnull
toEmailAddressValidator.isValid(String)
:I guess this is not intended because
EmailAddressValidator.isValid(String, EnumSet<EmailAddressCriteria)
still allowsnull
for the first parameter, butisValid
andisValidStrict
do not.