From 33a96857ddd7df36eee153cc092561d4bf46cfbc Mon Sep 17 00:00:00 2001 From: Patrick Koenig Date: Wed, 21 Aug 2024 08:39:01 -0400 Subject: [PATCH] Disable DistinctVarargsChecker (#2842) --- .../com/palantir/baseline/plugins/BaselineErrorProne.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineErrorProne.java b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineErrorProne.java index d580301a2..2988b239a 100644 --- a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineErrorProne.java +++ b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/plugins/BaselineErrorProne.java @@ -133,6 +133,8 @@ private static void configureErrorProneOptions( "AutoCloseableMustBeClosed", "CatchSpecificity", "CanIgnoreReturnValueSuggester", + // https://github.com/google/error-prone/issues/4544 + "DistinctVarargsChecker", "InlineMeSuggester", // We often use javadoc comments without javadoc parameter information. "NotJavadoc",