Skip to content

Commit aea0157

Browse files
Excavator: Upgrades Baseline to the latest version
1 parent 623612c commit aea0157

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.baseline/checkstyle/checkstyle.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</module>
4444
<module name="LineLength"> <!-- Java Style Guide: No line-wrapping -->
4545
<property name="max" value="120"/>
46-
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
46+
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://|\{@link"/>
4747
</module>
4848
<module name="TreeWalker">
4949
<module name="SuppressionCommentFilter"/> <!-- baseline-gradle: README.md -->
@@ -402,7 +402,9 @@
402402
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
403403
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
404404
</module>
405-
<module name="CyclomaticComplexity"/> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity -->
405+
<module name="CyclomaticComplexity"> <!-- Java Coding Guidelines: Reduce Cyclomatic Complexity -->
406+
<property name="switchBlockAsSingleDecisionPoint" value="true"/>
407+
</module>
406408
<module name="DesignForExtension"> <!-- Java Coding Guidelines: Design for extension -->
407409
<property name="ignoredAnnotations" value="ParameterizedTest, Test, Before, BeforeEach, After, AfterEach, BeforeClass, BeforeAll, AfterClass, AfterAll"/>
408410
</module>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildscript {
2424
classpath 'com.palantir.gradle.jdks:gradle-jdks:0.27.0'
2525
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.4.0'
2626
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.28.0'
27-
classpath 'com.palantir.baseline:gradle-baseline-java:4.153.0'
27+
classpath 'com.palantir.baseline:gradle-baseline-java:4.183.0'
2828
classpath 'com.palantir.gradle.conjure:gradle-conjure:5.33.0'
2929
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.12.0'
3030
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0'

foundry-athena-query-federation-connector/src/test/java/com/palantir/foundry/athena/connector/TestConstants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public final class TestConstants {
6868
ImmutableMap.builder()
6969
.put("type", "parquet")
7070
.put("parquet", ImmutableMap.builder().put("path", "/path/to/file"))
71-
.build())
72-
.build(),
71+
.buildOrThrow())
72+
.buildOrThrow(),
7373
Slice.class);
7474

7575
public static final ObjectMapper OBJECT_MAPPER = ObjectMappers.newClientObjectMapper();

0 commit comments

Comments
 (0)