Skip to content

Commit

Permalink
Make OkHttpClientBuilder.setCredentials return this
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Gyerik authored and SonarTech committed Jan 8, 2019
1 parent ea906c4 commit c944270
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -142,8 +142,9 @@ public OkHttpClientBuilder setConnectTimeoutMs(long l) {
/**
* Set credentials that will be passed on every request
*/
public void setCredentials(String credentials) {
public OkHttpClientBuilder setCredentials(String credentials) {
this.credentials = credentials;
return this;
}

/**
Expand Down

0 comments on commit c944270

Please sign in to comment.