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 4, 2019
1 parent 0f1f95a commit b83c35f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.google.errorprone.matchers.Matcher;
import com.google.errorprone.matchers.Matchers;
import com.google.errorprone.util.ASTHelpers;
import com.palantir.logsafe.exceptions.SafeIllegalStateException;
import com.sun.source.tree.ExpressionTree;
import com.sun.source.tree.NewClassTree;
import java.io.IOException;
Expand Down Expand Up @@ -98,6 +99,6 @@ public Description matchNewClass(NewClassTree tree, VisitorState state) {
.build())
.build())
.findAny()
.orElseThrow(() -> new IllegalStateException("Expected to match a known replaceable exception type"));
.orElseThrow(() -> new SafeIllegalStateException("Expected to match a known replaceable exception type"));
}
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.netflix.nebula:nebula-publishing-plugin:13.2.0'
classpath 'com.netflix.nebula:gradle-info-plugin:5.0.3'
classpath 'com.palantir.baseline:gradle-baseline-java:1.17.2'
classpath 'com.palantir.baseline:gradle-baseline-java:2.0.0'
}
}

Expand Down

0 comments on commit b83c35f

Please sign in to comment.