shh
Some checks failed
Fetch new Pia Servers / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 15s
Some checks failed
Fetch new Pia Servers / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 15s
This commit is contained in:
parent
fc7654ccd5
commit
75c266893a
@ -43,7 +43,7 @@ public class Main {
|
||||
// Load the serversFile from the file
|
||||
String serversJson = Files.readString(serversFile.toPath());
|
||||
System.out.println(serversJson);
|
||||
List<PiaServer> servers = GSON.fromJson(serversJson, new TypeToken<PiaServer>() {}.getType());
|
||||
List<PiaServer> servers = GSON.fromJson(serversJson, new TypeToken<List<PiaServer>>() {}.getType());
|
||||
if (servers == null) {
|
||||
servers = new ArrayList<>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user