From a01aa5b3672bda1e500f61eef6740d59949d1d2a Mon Sep 17 00:00:00 2001 From: msg-programs Date: Tue, 31 Oct 2023 21:07:06 +0100 Subject: Delete more whitespace on empty lines. --- src/main/java/de/hysky/skyblocker/utils/Http.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/de/hysky/skyblocker/utils/Http.java') diff --git a/src/main/java/de/hysky/skyblocker/utils/Http.java b/src/main/java/de/hysky/skyblocker/utils/Http.java index 4c8a3ada..82ab6c5e 100644 --- a/src/main/java/de/hysky/skyblocker/utils/Http.java +++ b/src/main/java/de/hysky/skyblocker/utils/Http.java @@ -36,7 +36,7 @@ public class Http { public static String sendGetRequest(String url) throws IOException, InterruptedException { return sendCacheableGetRequest(url).content(); } - + private static ApiResponse sendCacheableGetRequest(String url) throws IOException, InterruptedException { HttpRequest request = HttpRequest.newBuilder() .GET() @@ -80,10 +80,10 @@ public class Http { public static ApiResponse sendHypixelRequest(String endpoint, @NotNull String query) throws IOException, InterruptedException { return sendCacheableGetRequest(HYPIXEL_PROXY + endpoint + query); } - + private static InputStream getDecodedInputStream(HttpResponse response) { String encoding = getContentEncoding(response.headers()); - + try { switch (encoding) { case "": -- cgit