Browse Source

Merge pull request #499 from hexmind/Invalid-delete-operation

fix "Invalid delete operation" mistake for set operation
pull/517/head
kallestenflo 6 years ago committed by GitHub
parent
commit
adac118c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/internal/PathRef.java

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

@ -107,7 +107,7 @@ public abstract class PathRef implements Comparable<PathRef> {
@Override
public void set(Object newVal, Configuration configuration) {
throw new InvalidModificationException("Invalid delete operation");
throw new InvalidModificationException("Invalid set operation");
}
public void convert(MapFunction mapFunction, Configuration configuration){

Loading…
Cancel
Save