Skip to content

Commit a73ad52

Browse files
committed
Clarify removal of ResponseEntity::getStatusCodeValue
1 parent 13c32d8 commit a73ad52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-web/src/main/java/org/springframework/http/ResponseEntity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ public HttpStatusCode getStatusCode() {
156156
* Return the HTTP status code of the response.
157157
* @return the HTTP status as an int value
158158
* @since 4.3
159-
* @deprecated as of 6.0, in favor of {@link #getStatusCode()}
159+
* @deprecated as of 6.0, in favor of {@link #getStatusCode()}; scheduled
160+
* for removal in 7.0
160161
*/
161162
@Deprecated(since = "6.0")
162163
public int getStatusCodeValue() {

0 commit comments

Comments
 (0)