From 137e1e6981e5a741246515ef63ba0d8c546e1d29 Mon Sep 17 00:00:00 2001 From: Vlasenko Yevhenii Date: Mon, 6 May 2024 21:09:41 +0300 Subject: [PATCH] codestyle fix --- .../java/mate/academy/rickandmorty/client/CharacterClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/mate/academy/rickandmorty/client/CharacterClient.java b/src/main/java/mate/academy/rickandmorty/client/CharacterClient.java index 27d5f72b..533af5d2 100644 --- a/src/main/java/mate/academy/rickandmorty/client/CharacterClient.java +++ b/src/main/java/mate/academy/rickandmorty/client/CharacterClient.java @@ -34,7 +34,8 @@ public List getAll() throws IOException { .GET() .uri(URI.create(URL)) .build(); - HttpResponse response = httpClient.send(request, HttpResponse.BodyHandlers.ofString()); + HttpResponse response = httpClient.send(request, + HttpResponse.BodyHandlers.ofString()); JsonNode rootNode = objectMapper.readTree(response.body()); resultsNode = rootNode.get("results"); } catch (IOException | InterruptedException e) {