Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
Fix for issue discovered while testing FCREPO-437:
Browse files Browse the repository at this point in the history
When proxy authentication credentials were provided, they were never used due to typo.
  • Loading branch information
Chris Wilper committed Dec 18, 2009
1 parent 9abeab0 commit de4a4f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ && getProxyPort() > 0
* @return true if the credentials are valid, false otherwise
*/
public boolean hasValidCredentials() {
return getProxyUser() != null && getProxyUser().equals("")
&& getProxyPassword() != null && getProxyPassword().equals("");
return getProxyUser() != null && !getProxyUser().equals("")
&& getProxyPassword() != null && !getProxyPassword().equals("");
}

}

0 comments on commit de4a4f6

Please sign in to comment.