From cbff0bf57b3b624ef6575ceca6f404552f10fb9a Mon Sep 17 00:00:00 2001 From: Vincent Potucek Date: Fri, 17 Oct 2025 19:04:11 +0200 Subject: [PATCH] [prone] Add `UnusedVariable` --- pom.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/pom.xml b/pom.xml index b35f0522..17dbf3f6 100644 --- a/pom.xml +++ b/pom.xml @@ -981,6 +981,45 @@ under the License. 5.14.0 6 2025-06-14T08:21:17Z + + -Xep:AmbiguousJsonCreator:OFF + -Xep:AssertJNullnessAssertion:OFF + -Xep:AutowiredConstructor:OFF + -Xep:CanonicalAnnotationSyntax:OFF + -Xep:CollectorMutability:OFF + -Xep:ConstantNaming:OFF + -Xep:DirectReturn:OFF + -Xep:EmptyMethod:OFF + -Xep:ExplicitArgumentEnumeration:OFF + -Xep:ExplicitEnumOrdering:OFF + -Xep:FormatStringConcatenation:OFF + -Xep:IdentityConversion:OFF + -Xep:ImmutablesSortedSetComparator:OFF + -Xep:IsInstanceLambdaUsage:OFF + -Xep:LexicographicalAnnotation:OFF + -Xep:LexicographicalAnnotationListing:OFF + -Xep:MockitoMockClassReference:OFF + -Xep:MockitoStubbing:OFF + -Xep:NestedOptionals:OFF + -Xep:PrimitiveComparison:OFF + -Xep:RedundantStringConversion:OFF + -Xep:RedundantStringEscape:OFF + -Xep:SelfAssignment:OFF + -Xep:Slf4jLogStatement:OFF + -Xep:StringJoin:OFF + -Xep:StringJoining:OFF + -Xep:TimeZoneUsage:OFF + -Xep:Unused:OFF + -Xep:UnusedMethod:OFF + -Xep:UnusedParameters:OFF + -Xep:UnusedVariable:ERROR + -XepDisableAllChecks + -XepDisableWarningsInGeneratedCode + -XepExcludedPaths:.*/generated-sources/.* + -XepExcludedPaths:compat/.* + + + @@ -1039,6 +1078,23 @@ under the License. ${maven.compiler.proc} ${maven.compiler.showDeprecation} + + + com.google.errorprone + error_prone_core + 2.42.0 + + + tech.picnic.error-prone-support + error-prone-contrib + 0.25.0 + + + + --should-stop=ifError=FLOW + -XDcompilePolicy=simple + -Xplugin:ErrorProne ${error-prone.configuration-args} +