Update deprecation notices on rawStatusCode

Mark for removal where not marked, and set to 7.0
consistently as the target for removal.

See gh-33440
This commit is contained in:
rstoyanchev
2024-08-28 18:49:49 +03:00
parent 57cb8c7abf
commit 186deb777f
27 changed files with 36 additions and 36 deletions

View File

@@ -84,7 +84,7 @@ class DefaultEntityResponseBuilderTests {
}
@Test
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
void status() {
String body = "foo";
Mono<EntityResponse<String>> result = EntityResponse.fromObject(body).status(HttpStatus.CREATED).build();

View File

@@ -80,7 +80,7 @@ class DefaultServerResponseBuilderTests {
}
@Test
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
void status() {
Mono<ServerResponse> result = ServerResponse.status(HttpStatus.CREATED).build();
StepVerifier.create(result)

View File

@@ -223,7 +223,7 @@ class RouterFunctionsTests {
public HttpStatus statusCode() {
return HttpStatus.OK;
}
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
@Override
public int rawStatusCode() {
return 200;
@@ -262,7 +262,7 @@ class RouterFunctionsTests {
public HttpStatus statusCode() {
return HttpStatus.OK;
}
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
@Override
public int rawStatusCode() {
return 200;