Skip to content

Commit 5c3f1b1

Browse files
committed
Merge pull request #33316 from zinzoddari
* pr/33316: Polishing Javadoc and comment Closes gh-33316
2 parents 6bcffe3 + edbaf68 commit 5c3f1b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/http/MediaType.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public class MediaType extends MimeType implements Serializable {
447447

448448

449449
static {
450-
// Not using "valueOf' to avoid static init cost
450+
// Not using "valueOf" to avoid static init cost
451451
ALL = new MediaType(MimeType.WILDCARD_TYPE, MimeType.WILDCARD_TYPE);
452452
APPLICATION_ATOM_XML = new MediaType("application", "atom+xml");
453453
APPLICATION_CBOR = new MediaType("application", "cbor");
@@ -732,7 +732,7 @@ public MediaType removeQualityValue() {
732732
/**
733733
* Parse the given String value into a {@code MediaType} object,
734734
* with this method name following the 'valueOf' naming convention
735-
* (as supported by {@link org.springframework.core.convert.ConversionService}.
735+
* (as supported by {@link org.springframework.core.convert.ConversionService}).
736736
* @param value the string to parse
737737
* @throws InvalidMediaTypeException if the media type value cannot be parsed
738738
* @see #parseMediaType(String)

0 commit comments

Comments
 (0)