Skip to content

Commit 66c94bb

Browse files
committed
Merge branch '6.2.x'
2 parents 0e14228 + 4765135 commit 66c94bb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: spring-web/src/main/java/org/springframework/web/client/DefaultRestClient.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ final class DefaultRestClient implements RestClient {
150150
this.builder = builder;
151151
}
152152

153+
153154
@Override
154155
public RequestHeadersUriSpec<?> get() {
155156
return methodInternal(HttpMethod.GET);
@@ -282,8 +283,6 @@ private static <T> Class<T> bodyClass(Type type) {
282283
}
283284

284285

285-
286-
287286
private class DefaultRequestBodyUriSpec implements RequestBodyUriSpec {
288287

289288
private final HttpMethod httpMethod;
@@ -516,7 +515,6 @@ private void logBody(Object body, @Nullable MediaType mediaType, HttpMessageConv
516515
}
517516
}
518517

519-
520518
@Override
521519
public ResponseSpec retrieve() {
522520
return new DefaultResponseSpec(this);
@@ -822,7 +820,6 @@ private void applyStatusHandlers(HttpRequest request, ClientHttpResponse respons
822820
throw new UncheckedIOException(ex);
823821
}
824822
}
825-
826823
}
827824

828825

@@ -870,8 +867,6 @@ public String getStatusText() throws IOException {
870867
public void close() {
871868
this.delegate.close();
872869
}
873-
874870
}
875871

876-
877872
}

0 commit comments

Comments
 (0)