Skip to content

Commit d2e1150

Browse files
authored
Fix typo in javadoc for @RequestMapping
Closes gh-25396
1 parent 4578e49 commit d2e1150

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
* produces = "text/plain;charset=UTF-8"
203203
* </pre>
204204
* <p>If a declared media type contains a parameter (e.g. "charset=UTF-8",
205-
* "type=feed", type="entry") and if a compatible media type from the request
205+
* "type=feed", "type=entry") and if a compatible media type from the request
206206
* has that parameter too, then the parameter values must match. Otherwise
207207
* if the media type from the request does not contain the parameter, it is
208208
* assumed the client accepts any value.
@@ -212,7 +212,6 @@
212212
* If specified at both levels, the method level produces condition overrides
213213
* the type level condition.
214214
* @see org.springframework.http.MediaType
215-
* @see org.springframework.http.MediaType
216215
*/
217216
String[] produces() default {};
218217

0 commit comments

Comments
 (0)