Polishing

This commit is contained in:
Sam Brannen 2025-06-06 15:01:44 +02:00
parent ad2931b51f
commit 87c0655e12
1 changed files with 5 additions and 5 deletions

View File

@ -144,7 +144,7 @@ class DefaultResponseErrorHandlerTests {
}
@Test // SPR-16108
public void hasErrorForUnknownStatusCode() throws Exception {
void hasErrorForUnknownStatusCode() throws Exception {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
@ -156,7 +156,7 @@ class DefaultResponseErrorHandlerTests {
}
@Test // SPR-9406
public void handleErrorUnknownStatusCode() throws Exception {
void handleErrorUnknownStatusCode() throws Exception {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
@ -169,7 +169,7 @@ class DefaultResponseErrorHandlerTests {
}
@Test // SPR-17461
public void hasErrorForCustomClientError() throws Exception {
void hasErrorForCustomClientError() throws Exception {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
@ -209,7 +209,7 @@ class DefaultResponseErrorHandlerTests {
}
@Test // SPR-17461
public void hasErrorForCustomServerError() throws Exception {
void hasErrorForCustomServerError() throws Exception {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
@ -249,7 +249,7 @@ class DefaultResponseErrorHandlerTests {
}
@Test // SPR-16604
public void bodyAvailableAfterHasErrorForUnknownStatusCode() throws Exception {
void bodyAvailableAfterHasErrorForUnknownStatusCode() throws Exception {
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
TestByteArrayInputStream body = new TestByteArrayInputStream("Hello World".getBytes(UTF_8));