in plugins/org.apache.karaf.eik.core/src/main/java/org/apache/karaf/eik/core/shell/KarafSshShellConnection.java [51:82]
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (!(obj instanceof Credentials)) {
return false;
}
final Credentials other = (Credentials) obj;
if (password == null) {
if (other.password != null) {
return false;
}
} else if (!password.equals(other.password)) {
return false;
}
if (username == null) {
if (other.username != null) {
return false;
}
} else if (!username.equals(other.username)) {
return false;
}
return true;
}