diff --git a/spring-web/src/main/java/org/springframework/web/accept/AbstractMappingContentNegotiationStrategy.java b/spring-web/src/main/java/org/springframework/web/accept/AbstractMappingContentNegotiationStrategy.java index 62a650d3c4d..346e427f108 100644 --- a/spring-web/src/main/java/org/springframework/web/accept/AbstractMappingContentNegotiationStrategy.java +++ b/spring-web/src/main/java/org/springframework/web/accept/AbstractMappingContentNegotiationStrategy.java @@ -69,7 +69,7 @@ public abstract class AbstractMappingContentNegotiationStrategy extends MappingM /** * Whether to only use the registered mappings to look up file extensions, - * or also to use dynamic resolution (e.g. via {@link MediaTypeFactory}. + * or also to use dynamic resolution (e.g. via {@link MediaTypeFactory}). *
By default this is set to {@code false}. */ public void setUseRegisteredExtensionsOnly(boolean useRegisteredExtensionsOnly) { diff --git a/spring-web/src/main/java/org/springframework/web/accept/MappingMediaTypeFileExtensionResolver.java b/spring-web/src/main/java/org/springframework/web/accept/MappingMediaTypeFileExtensionResolver.java index a0ee49a5695..6cd381cebe2 100644 --- a/spring-web/src/main/java/org/springframework/web/accept/MappingMediaTypeFileExtensionResolver.java +++ b/spring-web/src/main/java/org/springframework/web/accept/MappingMediaTypeFileExtensionResolver.java @@ -35,7 +35,7 @@ import org.springframework.lang.Nullable; * lookups between file extensions and MediaTypes in both directions. * *
Initially created with a map of file extensions and media types. - * Subsequently subclasses can use {@link #addMapping} to add more mappings. + * Subsequently, subclasses can use {@link #addMapping} to add more mappings. * * @author Rossen Stoyanchev * @author Juergen Hoeller