From af8d9eab59e8ce48b8fd57fb9c15ff2d99406407 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 14 Aug 2015 17:53:50 +0200 Subject: [PATCH] Polish Javadoc for JsonPathExpectationsHelper --- .../test/util/JsonPathExpectationsHelper.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java b/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java index bc79ec6cfa..59e206611b 100644 --- a/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java +++ b/spring-test/src/main/java/org/springframework/test/util/JsonPathExpectationsHelper.java @@ -92,7 +92,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert the resulting value with the given {@code Matcher}. - * @param content the JSON response content + * @param content the JSON content * @param matcher the matcher with which to assert the result */ @SuppressWarnings("unchecked") @@ -104,7 +104,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the result is equal to the expected value. - * @param content the JSON response content + * @param content the JSON content * @param expectedValue the expected value */ public void assertValue(String content, Object expectedValue) throws ParseException { @@ -130,7 +130,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value is a {@link String}. - * @param content the JSON response content + * @param content the JSON content * @since 4.2.1 */ public void assertValueIsString(String content) throws ParseException { @@ -142,7 +142,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value is a {@link Boolean}. - * @param content the JSON response content + * @param content the JSON content * @since 4.2.1 */ public void assertValueIsBoolean(String content) throws ParseException { @@ -154,7 +154,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value is a {@link Number}. - * @param content the JSON response content + * @param content the JSON content * @since 4.2.1 */ public void assertValueIsNumber(String content) throws ParseException { @@ -166,7 +166,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value is an array. - * @param content the JSON response content + * @param content the JSON content */ public void assertValueIsArray(String content) throws ParseException { Object value = assertExistsAndReturn(content); @@ -177,7 +177,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value is a {@link Map}. - * @param content the JSON response content + * @param content the JSON content * @since 4.2.1 */ public void assertValueIsMap(String content) throws ParseException { @@ -189,7 +189,7 @@ public class JsonPathExpectationsHelper { /** * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value exists. - * @param content the JSON response content + * @param content the JSON content */ public void exists(String content) throws ParseException { assertExistsAndReturn(content); @@ -199,7 +199,7 @@ public class JsonPathExpectationsHelper { * Evaluate the JSON path expression against the supplied {@code content} * and assert that the resulting value is empty (i.e., that a match for * the JSON path expression does not exist in the supplied content). - * @param content the JSON response content + * @param content the JSON content */ public void doesNotExist(String content) throws ParseException { Object value;