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 Sep 5, 2019
1 parent ad5ce3e commit d1c48b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLoops" value="true"/>
<property name="allowEmptyLambdas" value="true"/>
<property name="ignoreEnhancedForColon" value="false"/>
<message key="ws.notFollowed" value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
<message key="ws.notPreceded" value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.12.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.netflix.nebula:nebula-publishing-plugin:13.3.0'
classpath 'com.palantir.baseline:gradle-baseline-java:1.0.0'
classpath 'com.palantir.baseline:gradle-baseline-java:2.0.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion safe-logging/src/main/java/com/palantir/logsafe/Arg.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public abstract class Arg<T> implements Serializable {
private final T value;

protected Arg(String name, @Nullable T value) {
this.name = Objects.requireNonNull(name, "name may not be null");
this.name = Preconditions.checkNotNull(name, "name may not be null");
this.value = value;
}

Expand Down

0 comments on commit d1c48b2

Please sign in to comment.