No effective change - sys out for CI server - add ReadAuditQueryPlan equals/hashCode for CI issue

This commit is contained in:
Robin Bygrave committed 2016-05-13 11:06:26 +12:00
1 parent 1d6e480402
commit 90a794fca5
3 files changed
+42 -1

No files matched your search

@@ -74,4 +74,23 @@ public class ReadAuditQueryPlan {
public void setSql(String sql) {
this.sql = sql;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ReadAuditQueryPlan that = (ReadAuditQueryPlan) o;
if (!beanType.equals(that.beanType)) return false;
if (!queryKey.equals(that.queryKey)) return false;
return sql.equals(that.sql);
}
@Override
public int hashCode() {
int result = beanType.hashCode();
result = 31 * result + queryKey.hashCode();
result = 31 * result + sql.hashCode();
return result;
}
}