-
-
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
UnnecessaryParentheses: no violation if casting is present before expression #14872
Labels
Comments
here are more examples
im on it. |
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Nov 26, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Nov 26, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Nov 26, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Nov 26, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 2, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 2, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 4, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 13, 2024
rnveach
pushed a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 13, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 13, 2024
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Dec 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
detected at https://github.com/checkstyle/checkstyle/pull/14856/files#r1597531069
I have read check documentation: https://checkstyle.org/checks/coding/unnecessaryparentheses.html#UnnecessaryParentheses
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
Expected: violation on line 7
https://introcs.cs.princeton.edu/java/11precedence/
higher precedence executes first.
The text was updated successfully, but these errors were encountered: