pull/32/head
kunfei 5 years ago
parent b2578d8946
commit f9d904eea6
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSonPath.kt
  2. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt

@ -132,7 +132,7 @@ class AnalyzeByJSonPath {
}
if (results.size > 0) {
if ("%" == elementsType) {
for (i in 0 until results[0].size) {
for (i in results[0].indices) {
for (temp in results) {
if (i < temp.size) {
result.add(temp[i])

@ -63,7 +63,7 @@ class AnalyzeByXPath {
}
if (results.size > 0) {
if ("%" == elementsType) {
for (i in 0 until results[0].size) {
for (i in results[0].indices) {
for (temp in results) {
if (i < temp.size) {
jxNodes.add(temp[i])
@ -120,7 +120,7 @@ class AnalyzeByXPath {
}
if (results.size > 0) {
if ("%" == elementsType) {
for (i in 0 until results[0].size) {
for (i in results[0].indices) {
for (temp in results) {
if (i < temp.size) {
result.add(temp[i])

Loading…
Cancel
Save