Skip to content

Commit 7267ebc

Browse files
Excavator: Upgrades Baseline to the latest version (#354)
1 parent a225e0e commit 7267ebc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
classpath 'com.netflix.nebula:gradle-info-plugin:5.1.1'
1010
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1111
classpath 'com.netflix.nebula:nebula-publishing-plugin:14.0.0'
12-
classpath 'com.palantir.baseline:gradle-baseline-java:2.19.0'
12+
classpath 'com.palantir.baseline:gradle-baseline-java:2.20.0'
1313
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.12.4'
1414
}
1515
}

test-utils/src/main/java/com/palantir/conjure/java/api/testing/RemoteExceptionAssert.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ public final RemoteExceptionAssert isGeneratedFromErrorType(ErrorType type) {
3232
String actualName = actual.getError().errorName();
3333
int actualStatus = actual.getStatus();
3434

35-
if (!(actualCode.equals(type.code().name()))) {
35+
if (!actualCode.equals(type.code().name())) {
3636
failWithMessage("Expected error code to be %s, but found %s", type.code().name(), actualCode);
3737
}
38-
if (!(actualName.equals(type.name()))) {
38+
if (!actualName.equals(type.name())) {
3939
failWithMessage("Expected error name to be %s, but found %s", type.name(), actualName);
4040
}
4141
if (!(actualStatus == type.httpErrorCode())) {

0 commit comments

Comments
 (0)