3
0
Fork 0

Removed unused code

This commit is contained in:
stijnb1234 2020-11-21 11:30:26 +01:00
parent 3f20b429f8
commit 24a2f73996

View file

@ -256,7 +256,7 @@ public class License implements Listener {
in.close(); in.close();
JsonParser parser = new JsonParser(); 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) { private boolean checkPortValue(int input, @NotNull String dataValue) {
@ -297,7 +297,7 @@ public class License implements Listener {
return false; return false;
} }
private String removeUTF8BOM (String s) { private String removeUTF8BOM(String s) {
String UTF8_BOM = "\uFEFF"; String UTF8_BOM = "\uFEFF";
if (s.startsWith(UTF8_BOM)) { if (s.startsWith(UTF8_BOM)) {
s = s.substring(1); s = s.substring(1);