diff --git a/build.gradle b/build.gradle index cb1b5f2f3..78359ca99 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ buildscript { classpath 'com.netflix.nebula:gradle-info-plugin:5.2.0' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4' classpath 'com.netflix.nebula:nebula-publishing-plugin:14.1.1' - classpath 'com.palantir.baseline:gradle-baseline-java:2.29.0' + classpath 'com.palantir.baseline:gradle-baseline-java:2.30.0' classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.12.4' classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.2' classpath 'gradle.plugin.org.inferred:gradle-processors:3.1.0' diff --git a/conjure-java-core/src/test/java/com/palantir/conjure/java/JerseyServiceEteTest.java b/conjure-java-core/src/test/java/com/palantir/conjure/java/JerseyServiceEteTest.java index 2a8a13a08..765822d71 100644 --- a/conjure-java-core/src/test/java/com/palantir/conjure/java/JerseyServiceEteTest.java +++ b/conjure-java-core/src/test/java/com/palantir/conjure/java/JerseyServiceEteTest.java @@ -99,7 +99,7 @@ public void jaxrs_client_can_make_a_call_to_an_empty_path() throws Exception { clientUserAgent(), new HostMetricsRegistry(), clientConfiguration()); - assertThat(emptyPathClient.emptyPath()).isEqualTo(true); + assertThat(emptyPathClient.emptyPath()).isTrue(); } @Disabled("string returns in Jersey should use a mandated wrapper alias type") @@ -117,8 +117,7 @@ public void client_can_retrieve_a_double_from_a_server() throws Exception { @Test public void client_can_retrieve_a_boolean_from_a_server() throws Exception { - assertThat(client.boolean_(AuthHeader.valueOf("authHeader"))) - .isEqualTo(true); + assertThat(client.boolean_(AuthHeader.valueOf("authHeader"))).isTrue(); } @Test diff --git a/conjure-java-core/src/test/java/com/palantir/conjure/java/UndertowServiceEteTest.java b/conjure-java-core/src/test/java/com/palantir/conjure/java/UndertowServiceEteTest.java index ec2c94902..88d7f68bd 100644 --- a/conjure-java-core/src/test/java/com/palantir/conjure/java/UndertowServiceEteTest.java +++ b/conjure-java-core/src/test/java/com/palantir/conjure/java/UndertowServiceEteTest.java @@ -154,7 +154,7 @@ public void jaxrs_client_can_make_a_call_to_an_empty_path() throws Exception { clientUserAgent(), new HostMetricsRegistry(), clientConfiguration()); - assertThat(emptyPathClient.emptyPath()).isEqualTo(true); + assertThat(emptyPathClient.emptyPath()).isTrue(); } @Test @@ -171,8 +171,7 @@ public void client_can_retrieve_a_double_from_a_server() throws Exception { @Test public void client_can_retrieve_a_boolean_from_a_server() throws Exception { - assertThat(client.boolean_(AuthHeader.valueOf("authHeader"))) - .isEqualTo(true); + assertThat(client.boolean_(AuthHeader.valueOf("authHeader"))).isTrue(); } @Test diff --git a/conjure-java-core/src/test/java/com/palantir/conjure/java/types/BeanSerdeIntegrationTests.java b/conjure-java-core/src/test/java/com/palantir/conjure/java/types/BeanSerdeIntegrationTests.java index 8f1937a89..4c4637858 100644 --- a/conjure-java-core/src/test/java/com/palantir/conjure/java/types/BeanSerdeIntegrationTests.java +++ b/conjure-java-core/src/test/java/com/palantir/conjure/java/types/BeanSerdeIntegrationTests.java @@ -71,7 +71,7 @@ public void testSafeLongExampleSerde_tooLarge() { public void testIgnoreProperties() throws Exception { // Important for ensuring additive changes don't affect clients adversely BooleanExample boolExample = mapper.readValue("{\"coin\": true, \"ignored\": \"field\"}", BooleanExample.class); - assertThat(boolExample.getCoin()).isEqualTo(true); + assertThat(boolExample.getCoin()).isTrue(); } @Test