Skip to content

Commit 87c0655

Browse files
committed
Polishing
1 parent ad2931b commit 87c0655

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-web/src/test/java/org/springframework/web/client/DefaultResponseErrorHandlerTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void handleErrorNullResponse() throws Exception {
144144
}
145145

146146
@Test // SPR-16108
147-
public void hasErrorForUnknownStatusCode() throws Exception {
147+
void hasErrorForUnknownStatusCode() throws Exception {
148148
HttpHeaders headers = new HttpHeaders();
149149
headers.setContentType(MediaType.TEXT_PLAIN);
150150

@@ -156,7 +156,7 @@ public void hasErrorForUnknownStatusCode() throws Exception {
156156
}
157157

158158
@Test // SPR-9406
159-
public void handleErrorUnknownStatusCode() throws Exception {
159+
void handleErrorUnknownStatusCode() throws Exception {
160160
HttpHeaders headers = new HttpHeaders();
161161
headers.setContentType(MediaType.TEXT_PLAIN);
162162

@@ -169,7 +169,7 @@ public void handleErrorUnknownStatusCode() throws Exception {
169169
}
170170

171171
@Test // SPR-17461
172-
public void hasErrorForCustomClientError() throws Exception {
172+
void hasErrorForCustomClientError() throws Exception {
173173
HttpHeaders headers = new HttpHeaders();
174174
headers.setContentType(MediaType.TEXT_PLAIN);
175175

@@ -209,7 +209,7 @@ void handleErrorForCustomClientError() throws Exception {
209209
}
210210

211211
@Test // SPR-17461
212-
public void hasErrorForCustomServerError() throws Exception {
212+
void hasErrorForCustomServerError() throws Exception {
213213
HttpHeaders headers = new HttpHeaders();
214214
headers.setContentType(MediaType.TEXT_PLAIN);
215215

@@ -249,7 +249,7 @@ void handleErrorForCustomServerError() throws Exception {
249249
}
250250

251251
@Test // SPR-16604
252-
public void bodyAvailableAfterHasErrorForUnknownStatusCode() throws Exception {
252+
void bodyAvailableAfterHasErrorForUnknownStatusCode() throws Exception {
253253
HttpHeaders headers = new HttpHeaders();
254254
headers.setContentType(MediaType.TEXT_PLAIN);
255255
TestByteArrayInputStream body = new TestByteArrayInputStream("Hello World".getBytes(UTF_8));

0 commit comments

Comments
 (0)