Browse Source

Fix */* in Javadoc

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

Closes gh-23439
pull/23441/head
Daniel Le 6 years ago committed by Sam Brannen
parent
commit
60ec736264
  1. 2
      spring-web/src/main/java/org/springframework/http/converter/ByteArrayHttpMessageConverter.java
  2. 2
      spring-web/src/main/java/org/springframework/http/converter/StringHttpMessageConverter.java

2
spring-web/src/main/java/org/springframework/http/converter/ByteArrayHttpMessageConverter.java

@ -28,7 +28,7 @@ import org.springframework.util.StreamUtils; @@ -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.
*

2
spring-web/src/main/java/org/springframework/http/converter/StringHttpMessageConverter.java

@ -33,7 +33,7 @@ import org.springframework.util.StreamUtils; @@ -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.
*

Loading…
Cancel
Save