From 5a79cad4b20b3f4144139d6510416d4172c395ed Mon Sep 17 00:00:00 2001 From: GKF Date: Thu, 14 Mar 2019 10:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kunfei/bookshelf/model/analyzeRule/AnalyzeByJSonPath.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/kunfei/bookshelf/model/analyzeRule/AnalyzeByJSonPath.java b/app/src/main/java/com/kunfei/bookshelf/model/analyzeRule/AnalyzeByJSonPath.java index be3e0978c8..12513a53e6 100644 --- a/app/src/main/java/com/kunfei/bookshelf/model/analyzeRule/AnalyzeByJSonPath.java +++ b/app/src/main/java/com/kunfei/bookshelf/model/analyzeRule/AnalyzeByJSonPath.java @@ -95,8 +95,9 @@ List readStringList(String rule) { if (object instanceof List) { for (Object o : ((List) object)) result.add(String.valueOf(o)); + } else { + result.add(String.valueOf(object)); } - result.add(String.valueOf(object)); } catch (Exception ignored) { } return result;