Fix typo in javadoc for @RequestMapping

Closes gh-25396
This commit is contained in:
Yanming Zhou
2020-07-16 14:41:39 +08:00
committed by GitHub
parent 4578e49213
commit d2e1150c79

View File

@@ -202,7 +202,7 @@ public @interface RequestMapping {
* produces = "text/plain;charset=UTF-8"
* </pre>
* <p>If a declared media type contains a parameter (e.g. "charset=UTF-8",
* "type=feed", type="entry") and if a compatible media type from the request
* "type=feed", "type=entry") and if a compatible media type from the request
* has that parameter too, then the parameter values must match. Otherwise
* if the media type from the request does not contain the parameter, it is
* assumed the client accepts any value.
@@ -212,7 +212,6 @@ public @interface RequestMapping {
* If specified at both levels, the method level produces condition overrides
* the type level condition.
* @see org.springframework.http.MediaType
* @see org.springframework.http.MediaType
*/
String[] produces() default {};