From d2e1150c7999b347d159ffc8247b123a406bf382 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Thu, 16 Jul 2020 14:41:39 +0800 Subject: [PATCH] Fix typo in javadoc for @RequestMapping Closes gh-25396 --- .../springframework/web/bind/annotation/RequestMapping.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java index f54a8db1f23..a0e357e8f86 100644 --- a/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java +++ b/spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java @@ -202,7 +202,7 @@ public @interface RequestMapping { * produces = "text/plain;charset=UTF-8" * *

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 {};