Skip to content

Commit 460c0c2

Browse files
committed
Javadoc fixed references
1 parent 9b79fb6 commit 460c0c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/src/com/loopj/android/http/AsyncHttpClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ public void addHeader(String header, String value) {
259259
* @param username
260260
* @param password
261261
*/
262-
public void setBasicAuth(String user, String pass) {
262+
public void setBasicAuth(String username, String password) {
263263
AuthScope scope = AuthScope.ANY;
264-
setBasicAuth(user, pass, scope);
264+
setBasicAuth(username, password, scope);
265265
}
266266

267267
/**
@@ -272,8 +272,8 @@ public void setBasicAuth(String user, String pass) {
272272
* @param password
273273
* @param scope - an AuthScope object
274274
*/
275-
public void setBasicAuth(String user, String pass, AuthScope scope) {
276-
UsernamePasswordCredentials credentials = new UsernamePasswordCredentials(user, pass);
275+
public void setBasicAuth(String username, String password, AuthScope scope) {
276+
UsernamePasswordCredentials credentials = new UsernamePasswordCredentials(username, password);
277277
this.httpClient.getCredentialsProvider().setCredentials(scope, credentials);
278278
}
279279

0 commit comments

Comments
 (0)