Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,14 @@ public void setHeaders(Map<String,String> headers) {
}

/**
* Sets the credentails.
* Sets the credentials.
*
* @param emailAddress
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you are here, please fix the param tags to match the method parameters.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I addressed this in #38.

* the email-id
* @param pwd
* the password
*/
public void setCredentails(String domain, String user, String pwd) {
public void setCredentials(String domain, String user, String pwd) {
this.domain = domain;
this.userName = user;
this.password = pwd;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ protected void prepareWebRequest(HttpWebRequest client) {
if (useDefaultCredentials) {
client.setUseDefaultCredentials(true);
} else {
client.setCredentails(domain, user, pwd);
client.setCredentials(domain, user, pwd);
}
}

Expand Down