Update Config.java
This commit is contained in:
parent
ed63f2babc
commit
997a6980b8
|
|
@ -23,8 +23,7 @@ public class Config {
|
|||
private int version;
|
||||
|
||||
public static List<Config> arrayFrom(String str) {
|
||||
Type listType = new TypeToken<ArrayList<Config>>() {
|
||||
}.getType();
|
||||
Type listType = new TypeToken<ArrayList<Config>>() {}.getType();
|
||||
return new Gson().fromJson(str, listType);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue