mirror of
https://github.com/square/okhttp.git
synced 2025-11-27 18:21:14 +03:00
Run IntelliJ's analysis on OkHttp.
This made a few hundred suggestions, many of which are thoughtful but I'm deliberately ignoring anyway. The following fixes are good ideas.
This commit is contained in:
@@ -74,7 +74,7 @@ public final class OkApacheClient implements HttpClient {
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
private static HttpResponse transformResponse(Response response) throws IOException {
|
||||
private static HttpResponse transformResponse(Response response) {
|
||||
int code = response.code();
|
||||
String message = response.message();
|
||||
BasicHttpResponse httpResponse = new BasicHttpResponse(HTTP_1_1, code, message);
|
||||
|
||||
Reference in New Issue
Block a user