Skip to content

Commit 760668c

Browse files
committed
Polishing
1 parent 5b3edcd commit 760668c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-web/src/main/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
import org.springframework.http.MediaType;
2525

2626
/**
27-
* Implementation of {@link org.springframework.http.converter.HttpMessageConverter HttpMessageConverter} that
28-
* can read and write JSON using <a href="http://wiki.fasterxml.com/JacksonHome">Jackson 2.x's</a> {@link ObjectMapper}.
27+
* Implementation of {@link org.springframework.http.converter.HttpMessageConverter} that can read and
28+
* write JSON using <a href="http://wiki.fasterxml.com/JacksonHome">Jackson 2.x's</a> {@link ObjectMapper}.
2929
*
30-
* <p>This converter can be used to bind to typed beans, or untyped {@link java.util.HashMap HashMap} instances.
30+
* <p>This converter can be used to bind to typed beans, or untyped {@code HashMap} instances.
3131
*
3232
* <p>By default, this converter supports {@code application/json} and {@code application/*+json}
33-
* with {@code UTF-8} character set.
34-
* This can be overridden by setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
33+
* with {@code UTF-8} character set. This can be overridden by setting the
34+
* {@link #setSupportedMediaTypes supportedMediaTypes} property.
3535
*
3636
* <p>The default constructor uses the default configuration provided by {@link Jackson2ObjectMapperBuilder}.
3737
*

spring-web/src/main/java/org/springframework/http/converter/xml/MappingJackson2XmlHttpMessageConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
* Jackson 2.x extension component for reading and writing XML encoded data</a>.
3131
*
3232
* <p>By default, this converter supports {@code application/xml}, {@code text/xml}, and
33-
* {@code application/*+xml} with {@code UTF-8} character set.
34-
* This can be overridden by setting the {@link #setSupportedMediaTypes(java.util.List) supportedMediaTypes} property.
33+
* {@code application/*+xml} with {@code UTF-8} character set. This can be overridden by
34+
* setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
3535
*
3636
* <p>The default constructor uses the default configuration provided by {@link Jackson2ObjectMapperBuilder}.
3737
*

0 commit comments

Comments
 (0)