in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/Database.java [190:213]
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
// Same reference?
if (this == obj) {
return true;
}
// Same type?
if (getClass() != obj.getClass()) {
return false;
}
final Database other = (Database) obj;
return (
((version == null && other.version == null) || (version != null && version.equals(other.version)))
&& ((family == null && other.family == null) || (family != null && family.equals(other.family)))
&& ((database == null && other.database == null) || (database != null && database.equalsIgnoreCase(other.database)))
&& ((username == null && other.username == null) || (username != null && username.equals(other.username)))
&& ((password == null && other.password == null) || (password != null && password.equals(other.password)))
&& ((bootstrapFilename == null && other.bootstrapFilename == null) || (bootstrapFilename != null && bootstrapFilename.equals(other.bootstrapFilename)))
&& (engine == other.engine)
&& (instance == other.instance)
);
}