Browse Source

fix "Invalid delete operation" mistake for set operation

"Invalid delete operation" -> "Invalid set operation" in set method
pull/499/head
Tomasz Skowroński 6 years ago committed by GitHub
parent
commit
16df8c3e9c
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