提交 3e3a2152 编写于 作者: S serge-rider

Compelx value editor fix


Former-commit-id: 011d9b91
上级 62233c07
...@@ -94,7 +94,7 @@ public class OracleDataSource extends JDBCDataSource ...@@ -94,7 +94,7 @@ public class OracleDataSource extends JDBCDataSource
return super.getDataSourceFeature(featureId); return super.getDataSourceFeature(featureId);
} }
public boolean isViewAvailable(@NotNull DBRProgressMonitor monitor, @NotNull String schemaName, @NotNull String viewName) { public boolean isViewAvailable(@NotNull DBRProgressMonitor monitor, @Nullable String schemaName, @NotNull String viewName) {
viewName = viewName.toUpperCase(); viewName = viewName.toUpperCase();
Boolean available; Boolean available;
synchronized (availableViews) { synchronized (availableViews) {
......
...@@ -673,9 +673,11 @@ public class ComplexObjectEditor extends TreeViewer { ...@@ -673,9 +673,11 @@ public class ComplexObjectEditor extends TreeViewer {
children[i] = new CollItem(i, iterator.next()); children[i] = new CollItem(i, iterator.next());
} }
} }
if (children != null) { if (children == null) {
childrenMap.put(parent, children); children = new ComplexElement[0];
} }
childrenMap.put(parent, children);
return children; return children;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册