diff --git a/spring-web/src/main/java/org/springframework/http/ResponseEntity.java b/spring-web/src/main/java/org/springframework/http/ResponseEntity.java index cfa455f721..9e07f703f4 100644 --- a/spring-web/src/main/java/org/springframework/http/ResponseEntity.java +++ b/spring-web/src/main/java/org/springframework/http/ResponseEntity.java @@ -220,7 +220,7 @@ public class ResponseEntity extends HttpEntity { /** * A shortcut for creating a {@code ResponseEntity} with the given body * and the {@linkplain HttpStatus#OK OK} status, or an empty body and a - * {@linkplain HttpStatus#NOT_FOUND NOT FOUND} status in case of a + * {@linkplain HttpStatus#NOT_FOUND NOT FOUND} status in case of an * {@linkplain Optional#empty()} parameter. * @return the created {@code ResponseEntity} * @since 5.1