1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-29 06:23:09 +03:00

Drop get and set prefixes in OkHttpClient, OkHttpClient.Builder

This commit is contained in:
jwilson
2016-01-01 12:12:35 -05:00
parent 0a0a612fc4
commit 38d570a6b2
46 changed files with 802 additions and 806 deletions

View File

@@ -36,7 +36,7 @@ public class AndroidInternal {
// make the ResponseCache look like an InternalCache, we can unwrap the Cache instead.
// This means that Cache stats will be correctly updated.
OkCacheContainer okCacheContainer = (OkCacheContainer) responseCache;
builder.setCache(okCacheContainer.getCache());
builder.cache(okCacheContainer.getCache());
} else {
builder.setInternalCache(responseCache != null ? new CacheAdapter(responseCache) : null);
}