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() {