master
Sam Brannen 10 years ago
parent a0c210457b
commit 6463878f2d
  1. 2
      spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java

@ -162,7 +162,7 @@ import java.util.concurrent.Callable;
*
* <p><strong>Note:</strong> 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}.
*

Loading…
Cancel
Save