mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - sys out for CI server - add ReadAuditQueryPlan equals/hashCode for CI issue
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user