Skip to content

Commit

Permalink
fix(mps-legacy-sync-plugin): removed usage of MetaModelBranch
Browse files Browse the repository at this point in the history
Was removed in modelix.core:7.0.0 and already disabled a long time ago.
  • Loading branch information
slisson committed Mar 18, 2024
1 parent ea29358 commit a181b42
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -181,7 +180,7 @@ class ModelCloudExporter {
}
return repositoryInModelServer!!.computeRead<List<Solution>>({
val tree: CLTree = version.getTree()
val branch: IBranch = MetaModelBranch(PBranch(tree, IdGeneratorDummy()))
val branch: IBranch = PBranch(tree, IdGeneratorDummy())
PArea(branch).executeRead({
with<List<Solution>>(tree, {
val t: ITransaction = branch.transaction
Expand Down

0 comments on commit a181b42

Please sign in to comment.