-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Fix NullableDate #360
Fix NullableDate #360
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
private final Integer year = requireNonNull(() -> Integer.valueOf(parts[0])); | ||
private final Integer month = requireNonNull(() -> Integer.valueOf(parts[1])); | ||
private final Integer day = requireNonNull(() -> Integer.valueOf(parts[2])); | ||
private final Integer year = requireNonNull(() -> parts.length < 1 ? null : Integer.valueOf(parts[0])); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
private final Integer month = requireNonNull(() -> Integer.valueOf(parts[1])); | ||
private final Integer day = requireNonNull(() -> Integer.valueOf(parts[2])); | ||
private final Integer year = requireNonNull(() -> parts.length < 1 ? null : Integer.valueOf(parts[0])); | ||
private final Integer month = requireNonNull(() -> parts.length < 2 ? null : Integer.valueOf(parts[1])); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
private final Integer day = requireNonNull(() -> Integer.valueOf(parts[2])); | ||
private final Integer year = requireNonNull(() -> parts.length < 1 ? null : Integer.valueOf(parts[0])); | ||
private final Integer month = requireNonNull(() -> parts.length < 2 ? null : Integer.valueOf(parts[1])); | ||
private final Integer day = requireNonNull(() -> parts.length < 3 ? null : Integer.valueOf(parts[2])); |
Check notice
Code scanning / CodeQL
Missing catch of NumberFormatException
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Katsute I have approved this pull request
Prerequisites
Issues must meet the following criteria:
GitHub Copilot Disclaimer
The use of GitHub Copilot is strictly prohibited on this repository.
Changes Made
List any changes made and/or other relevant issues.
WF-3907690947