Skip to content

Commit

Permalink
Remove dead code in MockClientHttpRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Dec 9, 2022
1 parent 83eb8ac commit 2b6f3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Expand Up @@ -141,14 +141,10 @@ protected ClientHttpResponse executeInternal() throws IOException {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(this.httpMethod);
sb.append(' ').append(this.uri);
sb.append(this.httpMethod).append(' ').append(this.uri);
if (!getHeaders().isEmpty()) {
sb.append(", headers: ").append(getHeaders());
}
if (sb.length() == 0) {
sb.append("Not yet initialized");
}
return sb.toString();
}

Expand Down
Expand Up @@ -141,14 +141,10 @@ protected ClientHttpResponse executeInternal() throws IOException {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(this.httpMethod);
sb.append(' ').append(this.uri);
sb.append(this.httpMethod).append(' ').append(this.uri);
if (!getHeaders().isEmpty()) {
sb.append(", headers: ").append(getHeaders());
}
if (sb.length() == 0) {
sb.append("Not yet initialized");
}
return sb.toString();
}

Expand Down

0 comments on commit 2b6f3ca

Please sign in to comment.