Browse Source

Fixed bug in multi index select.

pull/41/head
Kalle Stenflo 11 years ago
parent
commit
c2b1c1be76
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/internal/spi/compiler/ArrayPathToken.java

2
json-path/src/main/java/com/jayway/jsonpath/internal/spi/compiler/ArrayPathToken.java

@ -59,7 +59,7 @@ class ArrayPathToken extends PathToken {
case INDEX_SEQUENCE:
for (Integer i : criteria) {
handleArrayIndex(criteria.get(i), currentPath, model, ctx);
handleArrayIndex(i, currentPath, model, ctx);
}
break;

Loading…
Cancel
Save