Fix grammar in Javadoc

This commit is contained in:
Sam Brannen 2019-10-22 18:07:41 +02:00
parent 71400ea604
commit 112bbe859c
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class ResponseEntity<T> extends HttpEntity<T> {
/**
* 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