From 0c68f066feb416c3aa86d49da66c6ffd31bc6d12 Mon Sep 17 00:00:00 2001 From: Looly Date: Sun, 13 Feb 2022 19:26:42 +0800 Subject: [PATCH] fix code --- hutool-json/src/main/java/cn/hutool/json/JSONArray.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hutool-json/src/main/java/cn/hutool/json/JSONArray.java b/hutool-json/src/main/java/cn/hutool/json/JSONArray.java index c1d9e2492..d3973d55e 100644 --- a/hutool-json/src/main/java/cn/hutool/json/JSONArray.java +++ b/hutool-json/src/main/java/cn/hutool/json/JSONArray.java @@ -23,8 +23,6 @@ import java.util.List; import java.util.ListIterator; import java.util.RandomAccess; -import static cn.hutool.json.JSONConverter.jsonConvert; - /** * JSON数组
* JSON数组是表示中括号括住的数据表现形式
@@ -246,7 +244,7 @@ public class JSONArray implements JSON, JSONGetter, List, Rando @Override public T getByPath(String expression, Class resultType) { - return jsonConvert(resultType, getByPath(expression), true); + return JSONConverter.jsonConvert(resultType, getByPath(expression), true); } @Override