From 1331aec35bccfd600e5f8867f94aa4d3c670eb1e Mon Sep 17 00:00:00 2001 From: Carter Kozak Date: Fri, 29 Apr 2022 10:46:49 -0400 Subject: [PATCH] Automatically fix upstream `NarrowCalculation` (#2240) Automatically fix upstream `NarrowCalculation` --- changelog/@unreleased/pr-2240.v2.yml | 5 +++++ .../baseline/extensions/BaselineErrorProneExtension.java | 1 + 2 files changed, 6 insertions(+) create mode 100644 changelog/@unreleased/pr-2240.v2.yml diff --git a/changelog/@unreleased/pr-2240.v2.yml b/changelog/@unreleased/pr-2240.v2.yml new file mode 100644 index 000000000..97d62128f --- /dev/null +++ b/changelog/@unreleased/pr-2240.v2.yml @@ -0,0 +1,5 @@ +type: improvement +improvement: + description: Automatically fix upstream `NarrowCalculation` + links: + - https://github.com/palantir/gradle-baseline/pull/2240 diff --git a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java index 623f604d5..1e629da33 100644 --- a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java +++ b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java @@ -87,6 +87,7 @@ public class BaselineErrorProneExtension { "LoopOverCharArray", "MissingBraces", "MissingOverride", + "NarrowCalculation", "ObjectsHashCodePrimitive", "PreferJavaTimeOverload", "ProtectedMembersInFinalClass",