From edbaf687078701a68b26c0595658fa87d84add04 Mon Sep 17 00:00:00 2001 From: zinzo Date: Mon, 5 Aug 2024 00:43:05 +0900 Subject: [PATCH] Polishing Javadoc and comment See gh-33316 --- .../src/main/java/org/springframework/http/MediaType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/MediaType.java b/spring-web/src/main/java/org/springframework/http/MediaType.java index ceebcce8f00..47639ad4747 100644 --- a/spring-web/src/main/java/org/springframework/http/MediaType.java +++ b/spring-web/src/main/java/org/springframework/http/MediaType.java @@ -447,7 +447,7 @@ public class MediaType extends MimeType implements Serializable { static { - // Not using "valueOf' to avoid static init cost + // Not using "valueOf" to avoid static init cost ALL = new MediaType(MimeType.WILDCARD_TYPE, MimeType.WILDCARD_TYPE); APPLICATION_ATOM_XML = new MediaType("application", "atom+xml"); APPLICATION_CBOR = new MediaType("application", "cbor"); @@ -732,7 +732,7 @@ public class MediaType extends MimeType implements Serializable { /** * Parse the given String value into a {@code MediaType} object, * with this method name following the 'valueOf' naming convention - * (as supported by {@link org.springframework.core.convert.ConversionService}. + * (as supported by {@link org.springframework.core.convert.ConversionService}). * @param value the string to parse * @throws InvalidMediaTypeException if the media type value cannot be parsed * @see #parseMediaType(String)