/** * Performs a case-sensitive check to see if the components of the credentials * are the same. * * @param o The object to match. * * @return <code>true</code> if all of the credentials match. */ public boolean equals(Object o) { if (o == null) return false; if (this == o) return true; if (super.equals(o) ) { if (o instanceof NTCredentials) { NTCredentials that = (NTCredentials) o; return LangUtils.equals(this.domain, that.domain) && LangUtils.equals(this.host, that.host); } } return false; } }
/** * Performs a case-sensitive check to see if the components of the credentials * are the same. * * @param o The object to match. * * @return <code>true</code> if all of the credentials match. */ public boolean equals(Object o) { if (o == null) return false; if (this == o) return true; if (super.equals(o) ) { if (o instanceof NTCredentials) { NTCredentials that = (NTCredentials) o; return LangUtils.equals(this.domain, that.domain) && LangUtils.equals(this.host, that.host); } } return false; } }
/** * Performs a case-sensitive check to see if the components of the credentials * are the same. * * @param o The object to match. * * @return <code>true</code> if all of the credentials match. */ public boolean equals(Object o) { if (o == null) return false; if (this == o) return true; if (super.equals(o) ) { if (o instanceof NTCredentials) { NTCredentials that = (NTCredentials) o; return LangUtils.equals(this.domain, that.domain) && LangUtils.equals(this.host, that.host); } } return false; } }
/** * Performs a case-sensitive check to see if the components of the credentials * are the same. * * @param o The object to match. * * @return <code>true</code> if all of the credentials match. */ public boolean equals(Object o) { if (o == null) return false; if (this == o) return true; if (super.equals(o) ) { if (o instanceof NTCredentials) { NTCredentials that = (NTCredentials) o; return LangUtils.equals(this.domain, that.domain) && LangUtils.equals(this.host, that.host); } } return false; } }
/** * Performs a case-sensitive check to see if the components of the credentials * are the same. * * @param o The object to match. * * @return <code>true</code> if all of the credentials match. */ public boolean equals(Object o) { if (o == null) return false; if (this == o) return true; if (super.equals(o) ) { if (o instanceof NTCredentials) { NTCredentials that = (NTCredentials) o; return LangUtils.equals(this.domain, that.domain) && LangUtils.equals(this.host, that.host); } } return false; } }