From 112bbe859c67a71798e514ede5f5880dc59e66b5 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 22 Oct 2019 18:07:41 +0200 Subject: [PATCH] Fix grammar in Javadoc --- .../src/main/java/org/springframework/http/ResponseEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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