diff --git a/json-path-assert/src/main/java/com/jayway/jsonpath/matchers/JsonPathMatchers.java b/json-path-assert/src/main/java/com/jayway/jsonpath/matchers/JsonPathMatchers.java index 7689a22b..6f4c66da 100644 --- a/json-path-assert/src/main/java/com/jayway/jsonpath/matchers/JsonPathMatchers.java +++ b/json-path-assert/src/main/java/com/jayway/jsonpath/matchers/JsonPathMatchers.java @@ -23,7 +23,7 @@ public class JsonPathMatchers { jsonPath); } - public static Matcher hasJsonPath(final String jsonPath, final Matcher resultMatcher) { + public static Matcher hasJsonPath(String jsonPath, Matcher resultMatcher) { return isJson(withJsonPath(jsonPath, resultMatcher)); } @@ -35,15 +35,15 @@ public class JsonPathMatchers { return isJson(withJsonPath("$", anyOf(instanceOf(Map.class), instanceOf(List.class)))); } - public static Matcher isJson(final Matcher matcher) { + public static Matcher isJson(Matcher matcher) { return new IsJson(matcher); } - public static Matcher isJsonString(final Matcher matcher) { + public static Matcher isJsonString(Matcher matcher) { return new IsJson(matcher); } - public static Matcher isJsonFile(final Matcher matcher) { + public static Matcher isJsonFile(Matcher matcher) { return new IsJson(matcher); } @@ -69,7 +69,7 @@ public class JsonPathMatchers { return withJsonPath(JsonPath.compile(jsonPath), resultMatcher); } - public static Matcher withJsonPath(final JsonPath jsonPath, final Matcher resultMatcher) { + public static Matcher withJsonPath(JsonPath jsonPath, Matcher resultMatcher) { return new WithJsonPath(jsonPath, resultMatcher); } }