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

@@ -66,7 +66,7 @@ class DefaultEntityResponseBuilderTests {
}
@Test
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
void status() {
String body = "foo";
EntityResponse<String> result =

View File

@@ -55,7 +55,7 @@ class DefaultServerResponseBuilderTests {
static final ServerResponse.Context EMPTY_CONTEXT = Collections::emptyList;
@Test
@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
void status() {
ServerResponse response = ServerResponse.status(HttpStatus.CREATED).build();
assertThat(response.statusCode()).isEqualTo(HttpStatus.CREATED);