mirror of
https://github.com/square/okhttp.git
synced 2025-11-27 18:21:14 +03:00
Drop get and set prefixes in OkHttpClient, OkHttpClient.Builder
This commit is contained in:
@@ -122,7 +122,7 @@ public final class Crawler {
|
||||
|
||||
Cache cache = new Cache(new File(args[0]), cacheByteCount);
|
||||
OkHttpClient client = new OkHttpClient.Builder()
|
||||
.setCache(cache)
|
||||
.cache(cache)
|
||||
.build();
|
||||
|
||||
Crawler crawler = new Crawler(client);
|
||||
|
||||
Reference in New Issue
Block a user