We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While UUIDs#isValidUUID does not support the nil UUID, we should add a variant that does consider nil UUIDs be be valid.
UUIDs#isValidUUID
For example:
private static final String NIL_UUID = "00000000-0000-0000-0000-000000000000"; // ... public static boolean isValidUUIDAllowingNil(String value) { return NIL_UUID.equals(value) || isValidUUID(value); }
The text was updated successfully, but these errors were encountered:
Add support for validating NIL UUIDs
ecb1fad
Closes #538
Add support for validating NIL UUIDs (#543)
c24e313
* Add support for validating NIL UUIDs Closes #538 Co-authored-by: Scott Leberknight <174812+sleberknight@users.noreply.github.com>
chrisrohr
Successfully merging a pull request may close this issue.
While
UUIDs#isValidUUID
does not support the nil UUID, we should add a variant that does consider nil UUIDs be be valid.For example:
The text was updated successfully, but these errors were encountered: