From: Jussi Koskela Date: Thu, 31 Jan 2019 14:34:16 +0000 (+0200) Subject: Mark SPECIAL_ROOTs as EXTERNAL in DomainProcessor3 - fixed condition X-Git-Tag: v1.43.0~136^2~202 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F34%2F2634%2F1;p=simantics%2Fplatform.git Mark SPECIAL_ROOTs as EXTERNAL in DomainProcessor3 - fixed condition gitlab #251 Change-Id: I8bbffd898d2c5ea2a12330461dbf65daeacbe14d --- diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/DomainProcessor3.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/DomainProcessor3.java index 85cc8e629..5c2cd05c9 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/DomainProcessor3.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/DomainProcessor3.java @@ -154,7 +154,7 @@ public class DomainProcessor3 { LOGGER.info("Root preclassification problem, expected no preclassification, got " + pre.name()); // Roots are classified in status as INTERNAL status.put(ss.resource, ExtentStatus.INTERNAL); - } else if(SeedSpecType.ROOT.equals(ss.specType)) { + } else if(SeedSpecType.SPECIAL_ROOT.equals(ss.specType)) { // Special roots e.g. %model are marked as EXTERNAL if(pre != null && !ExtentStatus.EXTERNAL.equals(pre)) LOGGER.info("Special root preclassification problem, expected EXTERNAL preclassification, got " + pre.name());