Skip to content

Commit

Permalink
Merge pull request square#2046 from square/jw/immutable
Browse files Browse the repository at this point in the history
Remove incorrect comment as client is immutable.
  • Loading branch information
swankjesse authored Oct 13, 2016
2 parents 78b0491 + e5a165e commit d057133
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions retrofit/src/main/java/retrofit2/Retrofit.java
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,6 @@ public Builder() {
* 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"));
Expand Down

0 comments on commit d057133

Please sign in to comment.