From 16df8c3e9c2a9ab8d5a6fae2c132f967d5c69412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Skowro=C5=84ski?= Date: Sun, 14 Oct 2018 21:57:56 +0200 Subject: [PATCH] fix "Invalid delete operation" mistake for set operation "Invalid delete operation" -> "Invalid set operation" in set method --- .../src/main/java/com/jayway/jsonpath/internal/PathRef.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-path/src/main/java/com/jayway/jsonpath/internal/PathRef.java b/json-path/src/main/java/com/jayway/jsonpath/internal/PathRef.java index 1b42be31..95a836a5 100644 --- a/json-path/src/main/java/com/jayway/jsonpath/internal/PathRef.java +++ b/json-path/src/main/java/com/jayway/jsonpath/internal/PathRef.java @@ -107,7 +107,7 @@ public abstract class PathRef implements Comparable { @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){