From a73ad52a8a3e5f65403816e42d7186ac0765da8b Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Wed, 14 Jun 2023 11:29:09 +0200 Subject: [PATCH] Clarify removal of ResponseEntity::getStatusCodeValue --- .../src/main/java/org/springframework/http/ResponseEntity.java | 3 ++- 1 file changed, 2 insertions(+), 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 460d80b11266..360f0321c334 100644 --- a/spring-web/src/main/java/org/springframework/http/ResponseEntity.java +++ b/spring-web/src/main/java/org/springframework/http/ResponseEntity.java @@ -156,7 +156,8 @@ public HttpStatusCode getStatusCode() { * Return the HTTP status code of the response. * @return the HTTP status as an int value * @since 4.3 - * @deprecated as of 6.0, in favor of {@link #getStatusCode()} + * @deprecated as of 6.0, in favor of {@link #getStatusCode()}; scheduled + * for removal in 7.0 */ @Deprecated(since = "6.0") public int getStatusCodeValue() {