This commit is contained in:
FongMi 2022-09-13 10:15:53 +08:00
parent d82b8d5f38
commit 692b9b5435
3 changed files with 3 additions and 3 deletions

View File

@ -80,8 +80,8 @@ public class Result {
}
public Result filters(JSONObject object) {
Type listType = new TypeToken<LinkedHashMap<String, List<Filter>>>() {
}.getType();
if (object == null) return this;
Type listType = new TypeToken<LinkedHashMap<String, List<Filter>>>() {}.getType();
this.filters = new Gson().fromJson(object.toString(), listType);
return this;
}

Binary file not shown.

View File

@ -1 +1 @@
83309fc06ded7cbe68738abebbbca4fe
c67065eabe8a54c7b6e6125e6ad9f7da