提交 e5a165ee 编写于 作者: J Jake Wharton

Remove incorrect comment as client is immutable.

上级 78b04914
......@@ -409,10 +409,6 @@ public final class Retrofit {
* The HTTP client used for requests.
* <p>
* This is a convenience method for calling {@link #callFactory}.
* <p>
* Note: This method <b>does not</b> make a defensive copy of {@code client}. Changes to its
* settings will affect subsequent requests. Pass in a {@linkplain OkHttpClient#clone() cloned}
* instance to prevent this if desired.
*/
public Builder client(OkHttpClient client) {
return callFactory(checkNotNull(client, "client == null"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册