Update Item.java
This commit is contained in:
parent
44776ec440
commit
cbdf599d0a
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue