Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2012-01-12 01:42:15 +0000
committerRyan D. Brooks2012-01-12 01:42:15 +0000
commita4ae44edbc3863f22d9d45c8eb35ed095f3e6491 (patch)
tree5c69d0acc00cde29171f02fb5b56af42d7fcf0f2 /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src
parent969e97555ee0bab63242463dc88b4f4bec2e3e7e (diff)
downloadorg.eclipse.osee-a4ae44edbc3863f22d9d45c8eb35ed095f3e6491.tar.gz
org.eclipse.osee-a4ae44edbc3863f22d9d45c8eb35ed095f3e6491.tar.xz
org.eclipse.osee-a4ae44edbc3863f22d9d45c8eb35ed095f3e6491.zip
refactor[ats_6WFC6]: Call TransactionManager to create SkynetTransactions
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java
index c58f3ac7ac0..2ad476434ea 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java
@@ -28,6 +28,7 @@ import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
+import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
/**
* @author Roberto E. Escobar
@@ -78,7 +79,7 @@ public class OseeDslArtifactUpdateOperation extends AbstractOperation {
Branch branch = BranchManager.getBranchByGuid(branchGuid);
SkynetTransaction transaction = transactionMap.get(branch);
if (transaction == null) {
- transaction = new SkynetTransaction(branch, "OseeDslArtifactUpdate");
+ transaction = TransactionManager.createTransaction(branch, "OseeDslArtifactUpdate");
transactionMap.put(branch, transaction);
}
Artifact artifact = ArtifactQuery.getArtifactFromId(artifactGuid, branch);

Back to the top