Skip to content

Commit

Permalink
Excavator: Upgrades Baseline to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Oct 3, 2022
1 parent 6300911 commit 528baaf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</module>
<module name="LineLength"> <!-- Java Style Guide: No line-wrapping -->
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://|\{@link"/>
</module>
<module name="TreeWalker">
<module name="SuppressionCommentFilter"/> <!-- baseline-gradle: README.md -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public final class PreferCollectionConstructors extends BugChecker implements Bu
.put(NEW_ENUM_MAP_WITH_CLASS, EnumMap.class)
.put(NEW_ENUM_MAP_WITH_MAP, EnumMap.class)
.put(NEW_IDENTITY_HASH_MAP, IdentityHashMap.class)
.build();
.buildOrThrow();

private static final Set<Matcher<ExpressionTree>> requiresCollectionArg = ImmutableSet.of(
NEW_ARRAY_LIST_WITH_ITERABLE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public final class ValidateConstantMessage extends BugChecker implements BugChec
.put("validIndex", 3)
.put("validState", 2)
.put("allElementsOfType", 3) // commons-lang 2.x only
.build();
.buildOrThrow();

private static final Supplier<Type> JAVA_STRING =
VisitorState.memoize(state -> state.getTypeFromString("java.lang.String"));
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.11.0'
classpath 'com.gradle.publish:plugin-publish-plugin:1.0.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.178.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.180.0'
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.26.0'
}
}
Expand Down

0 comments on commit 528baaf

Please sign in to comment.