From d900f7aa4158c57257098ea7e69902d9fcda3b04 Mon Sep 17 00:00:00 2001 From: jochenberger Date: Fri, 24 Mar 2017 09:23:22 +0100 Subject: [PATCH] FIx typo in exception message --- .../jayway/jsonpath/internal/function/PathFunctionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-path/src/main/java/com/jayway/jsonpath/internal/function/PathFunctionFactory.java b/json-path/src/main/java/com/jayway/jsonpath/internal/function/PathFunctionFactory.java index 9688ebb8..a35f61bf 100644 --- a/json-path/src/main/java/com/jayway/jsonpath/internal/function/PathFunctionFactory.java +++ b/json-path/src/main/java/com/jayway/jsonpath/internal/function/PathFunctionFactory.java @@ -67,7 +67,7 @@ public class PathFunctionFactory { public static PathFunction newFunction(String name) throws InvalidPathException { Class functionClazz = FUNCTIONS.get(name); if(functionClazz == null){ - throw new InvalidPathException("Function with name: " + name + " does not exists."); + throw new InvalidPathException("Function with name: " + name + " does not exist."); } else { try { return (PathFunction)functionClazz.newInstance();