INRIA/spoon

Get rid of warnings in Spoon's build

Aperta

#4924 aperta il 27 set 2022

 (9 commenti) (2 reazioni) (0 assegnatari)Java (383 fork)github user discovery
good first issuerefactor

Metriche repository

Star
 (1933 stelle)
Metriche merge PR
 (Merge medio 19g 11h) (49 PR mergiate in 30 g)

Descrizione

I think it's about time we clean up the compile output and actually start to care about warnings, or even better, treat warnings as errors and selectively suppress the ones that we don't care about.

I've been bothered by the warnings in the build output for a good while. All of the garbage warnings obscure "real" warnings, such as deprecations in libraries we depend upon.

I propose two things:

  1. We get rid of the current warnings.
  2. We treat warnings as errors so we can keep the build output clean, and actually act upon new warnings.

To get the warnings:

mvn clean compile

Guida contributor