From 8a0b263b7a8a8ceae0bf72f8b463ee78f7963b80 Mon Sep 17 00:00:00 2001 From: Roberto Tyley Date: Tue, 11 Mar 2014 17:51:41 +0000 Subject: [PATCH] Doc: OkHttpClient need not /always/ be a singleton --- okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java b/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java index c978d7cc7..9d3577b2a 100644 --- a/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java +++ b/okhttp/src/main/java/com/squareup/okhttp/OkHttpClient.java @@ -41,9 +41,9 @@ import javax.net.ssl.SSLSocketFactory; import okio.ByteString; /** - * Configures and creates HTTP connections. Designed to be treated as a singleton - by - * using a single instance you are afforded a shared response cache, thread pool, connection - * re-use, etc. + * Configures and creates HTTP connections. Most applications can use a single + * OkHttpClient for all of their HTTP requests - benefiting from a shared + * response cache, thread pool, connection re-use, etc. */ public final class OkHttpClient implements URLStreamHandlerFactory, Cloneable {