]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Mark SPECIAL_ROOTs as EXTERNAL in DomainProcessor3 - fixed condition 34/2634/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 31 Jan 2019 14:34:16 +0000 (16:34 +0200)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 31 Jan 2019 14:34:16 +0000 (16:34 +0200)
gitlab #251

Change-Id: I8bbffd898d2c5ea2a12330461dbf65daeacbe14d

bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/DomainProcessor3.java

index 85cc8e629a5ffe341c367a3205f9af017f4d58bc..5c2cd05c9ef8cc2b949cd0b543a6a3ffc7e5ec0a 100644 (file)
@@ -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());