Skip to content

Commit 60ec736

Browse files
GreenRecycleBinsbrannen
authored andcommitted
Fix */* in Javadoc
This commit changes {@code &#42;&#47;&#42;} to <code>&#42;&#47;&#42;</code> so that "*/*" is rendered correctly. Closes gh-23439
1 parent 0cdf992 commit 60ec736

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Implementation of {@link HttpMessageConverter} that can read and write byte arrays.
3030
*
31-
* <p>By default, this converter supports all media types ({@code &#42;&#47;&#42;}), and
31+
* <p>By default, this converter supports all media types (<code>&#42;/&#42;</code>), and
3232
* writes with a {@code Content-Type} of {@code application/octet-stream}. This can be
3333
* overridden by setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
3434
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/**
3434
* Implementation of {@link HttpMessageConverter} that can read and write strings.
3535
*
36-
* <p>By default, this converter supports all media types ({@code &#42;&#47;&#42;}),
36+
* <p>By default, this converter supports all media types (<code>&#42;/&#42;</code>),
3737
* and writes with a {@code Content-Type} of {@code text/plain}. This can be overridden
3838
* by setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
3939
*

0 commit comments

Comments
 (0)