Fix */* in Javadoc

This commit changes {@code &#42;&#47;&#42;} to <code>&#42;&#47;&#42;</code>
so that "*/*" is rendered correctly.

Closes gh-23439
This commit is contained in:
Daniel Le
2019-08-09 19:32:18 +08:00
committed by Sam Brannen
parent 0cdf992433
commit 60ec736264
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ import org.springframework.util.StreamUtils;
/**
* Implementation of {@link HttpMessageConverter} that can read and write byte arrays.
*
* <p>By default, this converter supports all media types ({@code &#42;&#47;&#42;}), and
* <p>By default, this converter supports all media types (<code>&#42;/&#42;</code>), and
* writes with a {@code Content-Type} of {@code application/octet-stream}. This can be
* overridden by setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
*

View File

@@ -33,7 +33,7 @@ import org.springframework.util.StreamUtils;
/**
* Implementation of {@link HttpMessageConverter} that can read and write strings.
*
* <p>By default, this converter supports all media types ({@code &#42;&#47;&#42;}),
* <p>By default, this converter supports all media types (<code>&#42;/&#42;</code>),
* and writes with a {@code Content-Type} of {@code text/plain}. This can be overridden
* by setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
*