Update Item.java

This commit is contained in:
FongMi 2023-04-04 23:14:20 +08:00
parent 44776ec440
commit cbdf599d0a
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ public class Item {
}
public static List<Item> arrayFrom(String str) {
Type listType = new TypeToken<List<Item>>() {
}.getType();
Type listType = new TypeToken<List<Item>>() {}.getType();
return new Gson().fromJson(str, listType);
}