Skip to content

Introduce ErrorProne, fix compiler warnings #4807

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scordio
Copy link
Contributor

@scordio scordio commented Apr 5, 2025

This PR introduces ErrorProne, sets the maven-compiler-plugin to fail in case of compiler warnings, and fixes all the warnings.

This is a preparation for:

@scordio

This comment was marked as outdated.

@scordio scordio marked this pull request as draft April 6, 2025 08:05
@scordio scordio changed the title Favor factory methods instead of double braces initialization Apr 7, 2025
@scordio scordio force-pushed the cosmetic branch 2 times, most recently from 8eb3acc to 8a6ddaf Compare April 7, 2025 22:27
@fmbenhassine
Copy link
Contributor

This is fantastic! Thank you for doing that, @scordio !

I have a plan to re-work/optimise the project's build/release process for the next major release (see #4319 as well), and this goes in that same direction.

When this is not a draft PR anymore, please let me know and it should be welcome to merge.

@scordio scordio force-pushed the cosmetic branch 5 times, most recently from f0efc64 to 459933c Compare April 13, 2025 15:02
@scordio scordio force-pushed the cosmetic branch 4 times, most recently from 33ce508 to b662b2d Compare May 3, 2025 10:32
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants