Browse Source

change simple criteria to use readSafely

pull/16/head
Jochen Berger 12 years ago
parent
commit
3b41b46ed3
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/Criteria.java

2
json-path/src/main/java/com/jayway/jsonpath/Criteria.java

@ -108,7 +108,7 @@ public class Criteria {
for (CriteriaType key : this.criteria.keySet()) {
Object actualVal = map.get(this.key);
Object actualVal = readSafely(this.key, map);
Object expectedVal = this.criteria.get(key);
if (CriteriaType.GT.equals(key)) {

Loading…
Cancel
Save