提交 4b5d512c 编写于 作者: S serge-rider

SQL struct editor fix (generic bug)


Former-commit-id: 15907b66
上级 ad50877f
......@@ -81,7 +81,7 @@ public abstract class SQLStructEditor<OBJECT_TYPE extends DBSObject, CONTAINER_T
for (Class childType : getChildTypes()) {
Collection<? extends DBSObject> children = getChildObjects(monitor, object, childType);
if (!CommonUtils.isEmpty(children)) {
SQLObjectEditor<DBSObject, CONTAINER_TYPE> nestedEditor = getObjectEditor(editorsRegistry, childType);
SQLObjectEditor<DBSObject, ?> nestedEditor = getObjectEditor(editorsRegistry, childType);
if (nestedEditor != null) {
for (DBSObject child : children) {
ObjectCreateCommand childCreateCommand = (ObjectCreateCommand) nestedEditor.makeCreateCommand(child);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册