From 077870db5778c2fbde189febf6b50f25333acae0 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 3 Aug 2019 09:37:52 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt index 8ba053f40..23030393c 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt @@ -49,7 +49,7 @@ class AnalyzeByXPath { } } if (rules.size == 1) { - return jxDocument!!.selN(rules[0]) + return jxDocument?.selN(rules[0]) } else { val results = ArrayList>() for (rl in rules) {