提交 d67b1c91 编写于 作者: S Serge Rider

ERD: add table tool

Former-commit-id: 7a189138
上级 97a87ea2
......@@ -281,13 +281,13 @@ public class ERDEntity extends ERDObject<DBSEntity> {
@Override
public int hashCode() {
return object.hashCode();
return object == null ? 0 : object.hashCode();
}
@Override
public boolean equals(Object o) {
return o != null && o instanceof ERDEntity &&
object.equals(((ERDEntity) o).object);
CommonUtils.equalObjects(object, ((ERDEntity) o).object);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册