-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add Support for Java 21 Record Pattern : MissingSwitchDefault #14891
Comments
19 tasks
mahfouz72
added a commit
to mahfouz72/checkstyle
that referenced
this issue
Jun 11, 2024
…h that contains record pattern case label
mahfouz72
added a commit
to mahfouz72/checkstyle
that referenced
this issue
Jun 11, 2024
…h that contains record pattern case label
mahfouz72
added a commit
to mahfouz72/checkstyle
that referenced
this issue
Jun 11, 2024
…h that contains record pattern case label
mahfouz72
added a commit
to mahfouz72/checkstyle
that referenced
this issue
Jun 12, 2024
…h that contains record pattern case label
mahfouz72
added a commit
to mahfouz72/checkstyle
that referenced
this issue
Jun 13, 2024
…h that contains record pattern case label
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
child of #14890
I have read check documentation: https://checkstyle.org/checks/coding/missingswitchdefault.html#MissingSwitchDefault
I have downloaded the latest checkstyle from: https://checkstyle.org/cmdline.html#Download_and_Run
I have executed the cli and showed it below, as cli describes the problem better than 1,000 words
Describe what you expect in detail.
I expect no violation here since there is an exhaustiveness Check by the compiler. This means that all possible inputs must be covered. So there is no need for default
The text was updated successfully, but these errors were encountered: