X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.graph.db%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fdb%2FTransferableGraphImportProcess.java;h=4e6aaad08a578f3fa79f290d7f1c8ff3f45280a9;hb=687435a49e86496511f8e92ff743211cb191838a;hp=586562fa34df83ef4bccdffaebe9e5a373bd90f6;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java index 586562fa3..4e6aaad08 100644 --- a/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java +++ b/bundles/org.simantics.graph.db/src/org/simantics/graph/db/TransferableGraphImportProcess.java @@ -226,7 +226,7 @@ public class TransferableGraphImportProcess implements TransferableGraphImporter } } else if(definition instanceof Optional) { - External def = (External)definition; + Optional def = (Optional)definition; Resource parent = resources[def.parent]; if(parent != null) resources[identity.resource] =