Skip to content
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 clarifying parentheses to a ternary expression. #2496

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

eamonnmcmanus
Copy link
Member

The latest Error Prone version issues a warning without the parentheses. Since we build with -Werror, that breaks the build.

The latest Error Prone version issues a warning without the parentheses.
Since we build with `-Werror`, that breaks the build.
@eamonnmcmanus eamonnmcmanus merged commit edfaf0c into google:main Sep 23, 2023
9 checks passed
@eamonnmcmanus eamonnmcmanus deleted the parens branch September 23, 2023 00:43
tibor-universe pushed a commit to getuniverse/gson that referenced this pull request Sep 14, 2024
The latest Error Prone version issues a warning without the parentheses.
Since we build with `-Werror`, that breaks the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant