1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-17 08:42:25 +03:00

Unused method argument.

This commit is contained in:
Jake Wharton
2015-12-15 00:39:45 -05:00
parent ee3114d07c
commit b0f2dbb3cb

View File

@@ -197,7 +197,7 @@ public final class Cache {
return null;
}
Response response = entry.response(request, snapshot);
Response response = entry.response(snapshot);
if (!entry.matches(request, response)) {
Util.closeQuietly(response.body());
@@ -657,7 +657,7 @@ public final class Cache {
&& OkHeaders.varyMatches(response, varyHeaders, request);
}
public Response response(Request request, DiskLruCache.Snapshot snapshot) {
public Response response(DiskLruCache.Snapshot snapshot) {
String contentType = responseHeaders.get("Content-Type");
String contentLength = responseHeaders.get("Content-Length");
Request cacheRequest = new Request.Builder()