From 24a2f73996683f22de33d432ad77f0037ffa8bdf Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Sat, 21 Nov 2020 11:30:26 +0100 Subject: [PATCH] Removed unused code --- .../lombok/nl/sbdeveloper/themeparkplus/util/License.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/lombok/nl/sbdeveloper/themeparkplus/util/License.java b/src/main/lombok/nl/sbdeveloper/themeparkplus/util/License.java index 01eb583..601b554 100644 --- a/src/main/lombok/nl/sbdeveloper/themeparkplus/util/License.java +++ b/src/main/lombok/nl/sbdeveloper/themeparkplus/util/License.java @@ -256,7 +256,7 @@ public class License implements Listener { in.close(); JsonParser parser = new JsonParser(); - return parser.parse(response.toString().replace("´╗┐", "")).getAsJsonObject(); + return parser.parse(response.toString()).getAsJsonObject(); } private boolean checkPortValue(int input, @NotNull String dataValue) { @@ -297,7 +297,7 @@ public class License implements Listener { return false; } - private String removeUTF8BOM (String s) { + private String removeUTF8BOM(String s) { String UTF8_BOM = "\uFEFF"; if (s.startsWith(UTF8_BOM)) { s = s.substring(1);