Open vibhatha opened 2 months ago
@lidavidm looking into the available flags we do have the following https://errorprone.info/docs/flags
For instance, the available flags don't seem to have something like an error warning, rather it has -XepAllErrorsAsWarnings
. Not sure if we have an option the other way around? But we can do it manually for each category of warnings like -Xep:MissingOverride:ERROR
. But this requires making a list of items that may not cover all the angles we hope for. Still needs further investigation...
Um, (1) warnings-as-errors is just a javac option (2) my original concern wasn't about the errorprone warnings, it was just about the regular javac deprecation warnings.
I see, I have misunderstood it. Either way, I will make the improvements on both fronts as required. And I will investigate about (1) and how to add that.
Describe the enhancement requested
Even though we have integrated the ErrorProne module in each module, we still see iterative development cycle introduces more warnings, and to avoid this it would be better to error them so that in the development time these are properly tracked and addressed. This must be done for each module.
Component(s)
Java