From a181b4282d62ebbcd3de94c85f8e4d47e84d9890 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Mon, 18 Mar 2024 16:30:18 +0100 Subject: [PATCH] fix(mps-legacy-sync-plugin): removed usage of `MetaModelBranch` Was removed in modelix.core:7.0.0 and already disabled a long time ago. --- .../java/org/modelix/model/mpsplugin/ModelCloudExporter.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mps-legacy-sync-plugin/src/main/java/org/modelix/model/mpsplugin/ModelCloudExporter.kt b/mps-legacy-sync-plugin/src/main/java/org/modelix/model/mpsplugin/ModelCloudExporter.kt index 0c71da16..61978db5 100644 --- a/mps-legacy-sync-plugin/src/main/java/org/modelix/model/mpsplugin/ModelCloudExporter.kt +++ b/mps-legacy-sync-plugin/src/main/java/org/modelix/model/mpsplugin/ModelCloudExporter.kt @@ -67,7 +67,6 @@ import org.modelix.model.lazy.CLVersion import org.modelix.model.lazy.CLVersion.Companion.loadFromHash import org.modelix.model.lazy.PrefetchCache.Companion.with import org.modelix.model.lazy.RepositoryId -import org.modelix.model.metameta.MetaModelBranch import org.modelix.model.mpsadapters.mps.SConceptAdapter import org.modelix.model.mpsplugin.ModelCloudExporter.PersistenceFacility import java.io.File @@ -181,7 +180,7 @@ class ModelCloudExporter { } return repositoryInModelServer!!.computeRead>({ val tree: CLTree = version.getTree() - val branch: IBranch = MetaModelBranch(PBranch(tree, IdGeneratorDummy())) + val branch: IBranch = PBranch(tree, IdGeneratorDummy()) PArea(branch).executeRead({ with>(tree, { val t: ITransaction = branch.transaction