mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish Javadoc
Closes gh-31738
This commit is contained in:
+1
-1
@@ -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}).
|
||||
* <p>By default this is set to {@code false}.
|
||||
*/
|
||||
public void setUseRegisteredExtensionsOnly(boolean useRegisteredExtensionsOnly) {
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ import org.springframework.lang.Nullable;
|
||||
* lookups between file extensions and MediaTypes in both directions.
|
||||
*
|
||||
* <p>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
|
||||
|
||||
Reference in New Issue
Block a user