From 3ae99eb66b71a854915c65e1c222baa1159cdf90 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Thu, 8 Aug 2024 23:05:11 +0900 Subject: [PATCH] Add Javadoc since for MediaTypeAssert.isNotEqualTo() See gh-32756 --- .../java/org/springframework/test/http/MediaTypeAssert.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-test/src/main/java/org/springframework/test/http/MediaTypeAssert.java b/spring-test/src/main/java/org/springframework/test/http/MediaTypeAssert.java index 5c6077cce694..833ecdc53ad1 100644 --- a/spring-test/src/main/java/org/springframework/test/http/MediaTypeAssert.java +++ b/spring-test/src/main/java/org/springframework/test/http/MediaTypeAssert.java @@ -51,7 +51,7 @@ public MediaTypeAssert(@Nullable MediaType mediaType) { * representation. * @param mediaType the expected media type, as a String to be parsed * into a MediaType -*/ + */ public MediaTypeAssert isEqualTo(String mediaType) { return isEqualTo(parseMediaType(mediaType)); } @@ -61,6 +61,7 @@ public MediaTypeAssert isEqualTo(String mediaType) { * representation. * @param mediaType the given media type, as a String to be parsed * into a MediaType + * @since 6.2 */ public MediaTypeAssert isNotEqualTo(String mediaType) { return isNotEqualTo(parseMediaType(mediaType));