Removed unused code
This commit is contained in:
parent
3f20b429f8
commit
24a2f73996
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Reference in a new issue