Skip to content

Commit d67f2cb

Browse files
Excavator: Upgrades Baseline to the latest version
1 parent 870abaf commit d67f2cb

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-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.15.0'
1414
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:3.2.0'
15-
classpath 'com.palantir.baseline:gradle-baseline-java:6.16.0'
15+
classpath 'com.palantir.baseline:gradle-baseline-java:6.59.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'

docker-proxy-rule-core/src/main/java/com/palantir/docker/proxy/DockerContainerInfoUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ private DockerContainerInfoUtils() {
5050
// Utility class
5151
}
5252

53+
@SuppressWarnings("for-rollout:deprecation")
5354
public static List<String> getAllNamesForContainerId(DockerExecutable docker, String containerId) {
5455
try {
5556
String labelsFormat = StreamEx.of(DOCKER_NAME_LABELS)

docker-proxy-rule-core/src/main/java/com/palantir/docker/proxy/DockerProxyManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public void after() {
103103
dockerComposeRule.after();
104104
}
105105

106+
@SuppressWarnings("for-rollout:deprecation")
106107
private static File getDockerComposeFile(String networkName, String imageName) {
107108
try {
108109
File proxyFile = File.createTempFile("proxy", ".yml");

docker-proxy-rule-core/src/test/java/com/palantir/docker/proxy/DockerProxySelectorTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ private static Cluster setupProxyContainer() {
134134
.build();
135135
}
136136

137+
@SuppressWarnings("for-rollout:deprecation")
137138
private static URI createUriUnsafe(String uriString) {
138139
try {
139140
return new URI(uriString);

versions.lock

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ one.util:streamex:0.8.1 (2 constraints: cd1a403c)
7070

7171
org.apache.commons:commons-lang3:3.7 (1 constraints: 661571a7)
7272

73-
org.apiguardian:apiguardian-api:1.1.2 (5 constraints: 105480ac)
73+
org.apiguardian:apiguardian-api:1.1.2 (6 constraints: 5366ce6e)
7474

7575
org.awaitility:awaitility:4.0.2 (1 constraints: c015bbd2)
7676

@@ -108,7 +108,9 @@ org.junit.jupiter:junit-jupiter-engine:5.8.2 (1 constraints: 0c0edf3b)
108108

109109
org.junit.jupiter:junit-jupiter-params:5.8.2 (1 constraints: 0c0edf3b)
110110

111-
org.junit.platform:junit-platform-engine:1.8.2 (1 constraints: ab1027b4)
111+
org.junit.platform:junit-platform-engine:1.8.2 (2 constraints: f522a808)
112+
113+
org.junit.platform:junit-platform-launcher:1.8.2 (1 constraints: 0d050a36)
112114

113115
org.mockito:mockito-core:4.4.0 (2 constraints: f11021d5)
114116

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)