Polishing

(cherry picked from commit edf7f3cd43)
This commit is contained in:
Juergen Hoeller
2024-12-04 16:41:07 +01:00
parent 3635ff0c17
commit aaf2e8fbe6
10 changed files with 29 additions and 36 deletions

View File

@@ -54,6 +54,7 @@ class DefaultServerResponseBuilderTests {
static final ServerResponse.Context EMPTY_CONTEXT = Collections::emptyList;
@Test
@SuppressWarnings("removal")
void status() {
@@ -75,7 +76,6 @@ class DefaultServerResponseBuilderTests {
assertThat(result.cookies().getFirst("foo")).isEqualTo(cookie);
}
@Test
void ok() {
ServerResponse response = ServerResponse.ok().build();