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

@@ -116,8 +116,8 @@ public class CacheAdapterTest {
};
setInternalCache(new CacheAdapter(responseCache));
client = client.newBuilder()
.setSslSocketFactory(sslContext.getSocketFactory())
.setHostnameVerifier(hostnameVerifier)
.sslSocketFactory(sslContext.getSocketFactory())
.hostnameVerifier(hostnameVerifier)
.build();
connection = new OkUrlFactory(client).open(serverUrl);
@@ -234,8 +234,8 @@ public class CacheAdapterTest {
};
setInternalCache(new CacheAdapter(responseCache));
client = client.newBuilder()
.setSslSocketFactory(sslContext.getSocketFactory())
.setHostnameVerifier(hostnameVerifier)
.sslSocketFactory(sslContext.getSocketFactory())
.hostnameVerifier(hostnameVerifier)
.build();
connection = new OkUrlFactory(client).open(serverUrl);