Skip to content

Commit 5cf6259

Browse files
Excavator: Upgrades Baseline to the latest version
1 parent 1063991 commit 5cf6259

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.baseline/checkstyle/checkstyle.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
</module>
174174
<module name="IllegalType"> <!-- Java Coding Guide: Limit coupling on concrete classes -->
175175
<property name="illegalClassNames" value="java.util.ArrayList, java.util.HashSet, java.util.HashMap, java.util.LinkedList, java.util.LinkedHashMap, java.util.LinkedHashSet, java.util.TreeSet, java.util.TreeMap, com.google.common.collect.ArrayListMultimap, com.google.common.collect.ForwardingListMultimap, com.google.common.collect.ForwardingMultimap, com.google.common.collect.ForwardingSetMultimap, com.google.common.collect.ForwardingSortedSetMultimap, com.google.common.collect.HashMultimap, com.google.common.collect.LinkedHashMultimap, com.google.common.collect.LinkedListMultimap, com.google.common.collect.TreeMultimap"/>
176+
<message key="illegal.type" value="Usage of type ''{0}'' is not allowed to limit coupling on concrete classes. For example, prefer Multimap over HashMultimap, List over ArrayList, and Set over TreeSet."/>
176177
</module>
177178
<module name="IllegalType">
178179
<property name="id" value="BanGuavaCaches"/>
@@ -292,14 +293,6 @@
292293
<property name="format" value="ImmutableSet\.Builder.*new ImmutableSet\.Builder"/>
293294
<property name="message" value="Use ImmutableSet.builder() for variable assignment."/>
294295
</module>
295-
<module name="RegexpSinglelineJava"> <!-- Java Coding Guidelines: Check parameters for validity -->
296-
<property name="format" value="Preconditions\.checkNotNull\((?!.*,)([^()]*(\(([^()]*|\(([^()]*|\([^()]*\))*\))*\)[^()]*)*)\)"/>
297-
<property name="message" value="Use Preconditions.checkNotNull(Object, String)."/>
298-
</module>
299-
<module name="RegexpSinglelineJava"> <!-- Java Coding Guidelines: Check parameters for validity -->
300-
<property name="format" value="Validate\.notNull\((?!.*,)([^()]*(\(([^()]*|\(([^()]*|\([^()]*\))*\))*\)[^()]*)*)\)"/>
301-
<property name="message" value="Use Validate.notNull(Object, String)."/>
302-
</module>
303296
<module name="RegexpSinglelineJava">
304297
<property name="format" value="^\s*super\(\);"/>
305298
<property name="message" value="This is unnecessary; please delete."/>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.72.0'
1313
classpath 'com.palantir.suppressible-error-prone:gradle-suppressible-error-prone:2.12.0'
1414
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.36.0'
15-
classpath 'com.palantir.baseline:gradle-baseline-java:6.16.0'
15+
classpath 'com.palantir.baseline:gradle-baseline-java:6.49.0'
1616
classpath 'com.palantir.gradle.gitversion:gradle-git-version:4.0.0'
1717
classpath 'com.palantir.gradle.idea-configuration:gradle-idea-configuration:0.5.0'
1818
classpath 'org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:4.1.0'

versions.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ joda-time:joda-time:2.12.7 (2 constraints: 232ce739)
3434
junit:junit:4.13.2 (2 constraints: 841bfe6b)
3535
one.util:streamex:0.8.1 (2 constraints: cd1a403c)
3636
org.apache.commons:commons-lang3:3.7 (1 constraints: 661571a7)
37-
org.apiguardian:apiguardian-api:1.1.2 (5 constraints: 105480ac)
37+
org.apiguardian:apiguardian-api:1.1.2 (6 constraints: 5366ce6e)
3838
org.awaitility:awaitility:4.0.2 (1 constraints: c015bbd2)
3939
org.checkerframework:checker-qual:2.0.0 (1 constraints: 140ae5b4)
4040
org.codehaus.mojo:animal-sniffer-annotations:1.14 (1 constraints: ea09d5aa)
@@ -53,7 +53,8 @@ org.assertj:assertj-core:3.22.0 (1 constraints: 39053f3b)
5353
org.junit.jupiter:junit-jupiter:5.8.2 (1 constraints: 11051e36)
5454
org.junit.jupiter:junit-jupiter-engine:5.8.2 (1 constraints: 0c0edf3b)
5555
org.junit.jupiter:junit-jupiter-params:5.8.2 (1 constraints: 0c0edf3b)
56-
org.junit.platform:junit-platform-engine:1.8.2 (1 constraints: ab1027b4)
56+
org.junit.platform:junit-platform-engine:1.8.2 (2 constraints: f522a808)
57+
org.junit.platform:junit-platform-launcher:1.8.2 (1 constraints: 0d050a36)
5758
org.mockito:mockito-core:4.4.0 (2 constraints: f11021d5)
5859
org.mockito:mockito-inline:4.4.0 (1 constraints: 0a050b36)
5960
org.objenesis:objenesis:3.2 (1 constraints: b10a13bd)

versions.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ junit:junit = 4.13.2
55
one.util:streamex = 0.8.1
66
org.assertj:assertj-core = 3.22.0
77
org.junit.jupiter:* = 5.8.2
8+
org.junit.platform:* = 1.8.2
89
org.mockito:* = 4.4.0
910
org.hamcrest:* = 2.1
1011
net.bytebuddy:* = 1.14.11

0 commit comments

Comments
 (0)