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 Error Prone check for unnecessary boxed types in AutoValue classes. #4515

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

Add Error Prone check for unnecessary boxed types in AutoValue classes.

This check will warn users when they are using boxed types in their AutoValue classes that are not Nullable. This is because boxed types are not necessary in AutoValue classes, and they can actually be harmful because they can cause unnecessary boxing and unboxing.

Clean up reference: unknown commit

This check is currently enabled as a warning, but it can be made into an error in the future.

This check will warn users when they are using boxed types in their AutoValue classes that are not Nullable. This is because boxed types are not necessary in AutoValue classes, and they can actually be harmful because they can cause unnecessary boxing and unboxing.

Clean up reference: unknown commit

This check is currently enabled as a warning, but it can be made into an error in the future.

PiperOrigin-RevId: 658493053
@copybara-service copybara-service bot merged commit fe07236 into master Aug 1, 2024
@copybara-service copybara-service bot deleted the test_653348621 branch August 1, 2024 19:15
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