Skip to content

Commit a4c7bc6

Browse files
Excavator: Upgrades Baseline to the latest version (#3239)
1 parent 01b4c5d commit a4c7bc6

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.baseline/checkstyle/checkstyle.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
<property name="max" value="120"/>
4646
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://|\{@link"/>
4747
</module>
48+
<module name="SuppressWithPlainTextCommentFilter"> <!-- Suppression to prevent LineLength Check from flagging lines in Text-blocks -->
49+
<property name="checkFormat" value="LineLength"/>
50+
<property name="offCommentFormat" value="^.*&quot;&quot;&quot;\s*$"/>
51+
<property name="onCommentFormat" value="^\s*&quot;&quot;&quot;\s*(?:[,;]|.+)$"/>
52+
</module>
4853
<module name="TreeWalker">
4954
<module name="SuppressionCommentFilter"/> <!-- baseline-gradle: README.md -->
5055
<module name="SuppressionCommentFilter">
@@ -407,7 +412,9 @@
407412
<property name="allowMissingReturnTag" value="true"/>
408413
<property name="allowedAnnotations" value="Override, Test"/>
409414
</module>
410-
<module name="JavadocStyle"/> <!-- Java Style Guide: Javadoc -->
415+
<module name="JavadocStyle"><!-- Java Style Guide: Javadoc -->
416+
<property name="checkFirstSentence" value="false"/>
417+
</module>
411418
<module name="JavadocTagContinuationIndentation"> <!-- Java Style Guide: At-clauses -->
412419
<property name="offset" value="0"/>
413420
</module>
@@ -432,9 +439,6 @@
432439
<property name="format" value="^_?[a-z][a-zA-Z0-9]+$"/>
433440
<message key="name.invalidPattern" value="Parameter name ''{0}'' must match pattern ''{1}''."/>
434441
</module>
435-
<module name="SummaryJavadocCheck"> <!-- Java Coding Guidelines: Javadoc -->
436-
<property name="forbiddenSummaryFragments" value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
437-
</module>
438442

439443
<!-- Stricter checks end -->
440444
</module>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.81.0'
1414
classpath 'org.revapi:gradle-revapi:1.8.0'
1515
classpath 'com.netflix.nebula:gradle-dependency-lock-plugin:7.0.1'
16-
classpath 'com.palantir.baseline:gradle-baseline-java:6.60.0'
16+
classpath 'com.palantir.baseline:gradle-baseline-java:6.66.0'
1717
classpath 'com.palantir.gradle.gitversion:gradle-git-version:4.1.0'
1818
classpath 'com.palantir.gradle.idea-configuration:gradle-idea-configuration:0.7.0'
1919
classpath 'com.palantir.metricschema:gradle-metric-schema:0.33.0'

conjure-java-jaxrs-client/src/test/java/com/palantir/conjure/java/client/jaxrs/JaxRsClientConfigRefreshTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public void testConfigRefresh() throws Exception {
4545
ClientConfiguration config2 = createTestConfig("http://localhost:" + server2.getPort());
4646

4747
Refreshable<ClientConfiguration> refreshableConfig = Refreshable.of(config1);
48-
@SuppressWarnings("for-rollout:deprecation")
4948
TestService proxy = JaxRsClient.create(
5049
TestService.class, UserAgents.tryParse("agent"), new HostMetricsRegistry(), refreshableConfig);
5150

0 commit comments

Comments
 (0)