From eef6ed6175b80f2d5a7e89bcd958f620f0fb2d21 Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Sun, 25 Sep 2022 23:41:16 +0100 Subject: [PATCH] Excavator: Upgrades Baseline to the latest version (#1784) --- .baseline/checkstyle/checkstyle.xml | 4 +++- build.gradle | 2 +- .../core/BalancedNodeSelectionStrategyChannelTest.java | 1 + .../java/com/palantir/dialogue/core/DialogueChannelTest.java | 1 + .../conjure/java/dialogue/serde/DefaultClientsTest.java | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.baseline/checkstyle/checkstyle.xml b/.baseline/checkstyle/checkstyle.xml index 1a086c49c..0297c79f4 100644 --- a/.baseline/checkstyle/checkstyle.xml +++ b/.baseline/checkstyle/checkstyle.xml @@ -402,7 +402,9 @@ - + + + diff --git a/build.gradle b/build.gradle index d2a031f11..249b7dd4f 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0' classpath 'com.palantir.gradle.revapi:gradle-revapi:1.7.0' classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.26.0' - classpath 'com.palantir.baseline:gradle-baseline-java:4.153.0' + classpath 'com.palantir.baseline:gradle-baseline-java:4.178.0' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.15.0' classpath 'gradle.plugin.org.inferred:gradle-processors:3.7.0' classpath 'com.palantir.metricschema:gradle-metric-schema:0.16.0' diff --git a/dialogue-core/src/test/java/com/palantir/dialogue/core/BalancedNodeSelectionStrategyChannelTest.java b/dialogue-core/src/test/java/com/palantir/dialogue/core/BalancedNodeSelectionStrategyChannelTest.java index 6103b2647..d7fbe09b8 100644 --- a/dialogue-core/src/test/java/com/palantir/dialogue/core/BalancedNodeSelectionStrategyChannelTest.java +++ b/dialogue-core/src/test/java/com/palantir/dialogue/core/BalancedNodeSelectionStrategyChannelTest.java @@ -48,6 +48,7 @@ import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; +@SuppressWarnings("DirectInvocationOnMock") @ExtendWith(MockitoExtension.class) class BalancedNodeSelectionStrategyChannelTest { private Random random = new Random(12388544234L); diff --git a/dialogue-core/src/test/java/com/palantir/dialogue/core/DialogueChannelTest.java b/dialogue-core/src/test/java/com/palantir/dialogue/core/DialogueChannelTest.java index bd7a7e124..6c15be99e 100644 --- a/dialogue-core/src/test/java/com/palantir/dialogue/core/DialogueChannelTest.java +++ b/dialogue-core/src/test/java/com/palantir/dialogue/core/DialogueChannelTest.java @@ -73,6 +73,7 @@ import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.stubbing.Answer; +@SuppressWarnings("DirectInvocationOnMock") @ExtendWith(MockitoExtension.class) public final class DialogueChannelTest { diff --git a/dialogue-serde/src/test/java/com/palantir/conjure/java/dialogue/serde/DefaultClientsTest.java b/dialogue-serde/src/test/java/com/palantir/conjure/java/dialogue/serde/DefaultClientsTest.java index b41eb03cc..a8ac9ab0d 100644 --- a/dialogue-serde/src/test/java/com/palantir/conjure/java/dialogue/serde/DefaultClientsTest.java +++ b/dialogue-serde/src/test/java/com/palantir/conjure/java/dialogue/serde/DefaultClientsTest.java @@ -243,6 +243,7 @@ private ListenableFuture call(CallType callType, Request request) { return call(callType, request, stringDeserializer); } + @SuppressWarnings("DirectInvocationOnMock") private ListenableFuture call(CallType callType, Request request, Deserializer deserializer) { switch (callType) { case Async: