Polish: String.valueOf() should not be appended to a String

This commit is contained in:
igor-suhorukov
2018-02-25 23:01:11 +03:00
committed by Juergen Hoeller
parent 49fd724d8f
commit b202205d77
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ public class UnknownHttpStatusCodeException extends RestClientResponseException
public UnknownHttpStatusCodeException(int rawStatusCode, String statusText, @Nullable HttpHeaders responseHeaders,
@Nullable byte[] responseBody, @Nullable Charset responseCharset) {
super("Unknown status code [" + String.valueOf(rawStatusCode) + "]" + " " + statusText,
super("Unknown status code [" + rawStatusCode + "]" + " " + statusText,
rawStatusCode, statusText, responseHeaders, responseBody, responseCharset);
}