From 6463878f2d03d894470a5da794f75135d0ef8181 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 24 Oct 2014 14:59:58 +0200 Subject: [PATCH] Polish Javadoc for @RequestMapping --- .../springframework/web/bind/annotation/RequestMapping.java | 4 ++-- 1 file changed, 2 insertions(+), 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 c12c79d72a..2d68272d10 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 @@ -160,9 +160,9 @@ import java.util.concurrent.Callable; * context path, and the literal part of the servlet mapping. * * - *

Note: JDK 1.8's {@code java.util.Optional} is supported + *

Note: JDK 1.8's {@code java.util.Optional} is supported * as a method parameter type with annotations that provide a {@code required} - * attribute (e.g. {@code @RequestParam}, {@code @RequestHeader}, etc.) The use + * attribute (e.g. {@code @RequestParam}, {@code @RequestHeader}, etc.). The use * of {@code java.util.Optional} in those cases is equivalent to having * {@code required=false}. *