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

Apply baseline's NullAway on this repo #987

Closed
ash211 opened this issue Jan 21, 2024 · 0 comments · Fixed by #988
Closed

Apply baseline's NullAway on this repo #987

ash211 opened this issue Jan 21, 2024 · 0 comments · Fixed by #988

Comments

@ash211
Copy link
Contributor

ash211 commented Jan 21, 2024

What happened?

At https://github.com/palantir/palantir-java-format/pull/980/files#r1451076860 I accidentally wrote code returning a null from a method with OptionalInt return type. Ideally the baseline-null-away plugin would be applied, to automatically flag issues like this.

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 a pull request may close this issue.

1 participant