Skip to content

Commit

Permalink
Excavator: Upgrades Baseline to the latest version (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Sep 25, 2022
1 parent 4e34490 commit eef6ed6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,9 @@
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="CyclomaticComplexity"/> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity -->
<module name="CyclomaticComplexity"> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity -->
<property name="switchBlockAsSingleDecisionPoint" value="true"/>
</module>
<module name="DesignForExtension"> <!-- Java Coding Guidelines: Design for extension -->
<property name="ignoredAnnotations" value="ParameterizedTest, Test, Before, BeforeEach, After, AfterEach, BeforeClass, BeforeAll, AfterClass, AfterAll"/>
</module>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
import org.mockito.junit.jupiter.MockitoExtension;
import org.mockito.stubbing.Answer;

@SuppressWarnings("DirectInvocationOnMock")
@ExtendWith(MockitoExtension.class)
public final class DialogueChannelTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ private ListenableFuture<String> call(CallType callType, Request request) {
return call(callType, request, stringDeserializer);
}

@SuppressWarnings("DirectInvocationOnMock")
private <T> ListenableFuture<T> call(CallType callType, Request request, Deserializer<T> deserializer) {
switch (callType) {
case Async:
Expand Down

0 comments on commit eef6ed6

Please sign in to comment.