Browse Source

Fix Criteria.noneof(Object...) that was calling Criteria.subsetof(List) instead of Criteria.noneof(List) (#653)

Co-authored-by: Marc Pynaert <marc.pynaert@probance.com>
pull/697/head
MarcP04 4 years ago committed by GitHub
parent
commit
75637790f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/Criteria.java

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

@ -329,7 +329,7 @@ public class Criteria implements Predicate {
* @return the criteria
*/
public Criteria noneof(Object... o) {
return subsetof(Arrays.asList(o));
return noneof(Arrays.asList(o));
}
/**

Loading…
Cancel
Save