From 833e08e19b07949a7d049c825aaa5447bac7a9da Mon Sep 17 00:00:00 2001 From: Sergei Korneev <23792@mail.ru> Date: Wed, 14 Aug 2024 09:47:15 +0200 Subject: [PATCH] Apply code style --- .../test/java/feign/client/AbstractClientTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/test/java/feign/client/AbstractClientTest.java b/core/src/test/java/feign/client/AbstractClientTest.java index 35ec20fe0..2b6256234 100644 --- a/core/src/test/java/feign/client/AbstractClientTest.java +++ b/core/src/test/java/feign/client/AbstractClientTest.java @@ -422,7 +422,7 @@ public void canSupportGzipOnError() throws Exception { @Test public void canSupportGzipOnErrorWithoutBody() throws Exception { server.enqueue(new MockResponse().setResponseCode(400) - .addHeader("Content-Encoding", "gzip")); + .addHeader("Content-Encoding", "gzip")); TestInterface api = newBuilder().target(TestInterface.class, "http://localhost:" + server.getPort()); @@ -433,8 +433,8 @@ public void canSupportGzipOnErrorWithoutBody() throws Exception { } catch (FeignException e) { /* verify that the response is unzipped */ assertThat(e.responseBody()).isNotEmpty() - .map(body -> new String(body.array(), StandardCharsets.UTF_8)) - .get().isEqualTo(""); + .map(body -> new String(body.array(), StandardCharsets.UTF_8)) + .get().isEqualTo(""); } } @@ -478,7 +478,7 @@ public void canSupportDeflateOnError() throws Exception { @Test public void canSupportDeflateOnErrorWithoutBody() throws Exception { server.enqueue(new MockResponse().setResponseCode(400) - .addHeader("Content-Encoding", "deflate")); + .addHeader("Content-Encoding", "deflate")); TestInterface api = newBuilder().target(TestInterface.class, "http://localhost:" + server.getPort()); @@ -489,8 +489,8 @@ public void canSupportDeflateOnErrorWithoutBody() throws Exception { } catch (FeignException e) { /* verify that the response is unzipped */ assertThat(e.responseBody()).isNotEmpty() - .map(body -> new String(body.array(), StandardCharsets.UTF_8)) - .get().isEqualTo(""); + .map(body -> new String(body.array(), StandardCharsets.UTF_8)) + .get().isEqualTo(""); } }