Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2016-10-25 22:45:15 +0000
committerdonald.g.dunne2016-10-25 22:45:15 +0000
commita50384bec11f3f52243bcb09d934109cae8bf9d6 (patch)
tree7fbd1d9c0d7e60c323b7b02ceb8f13179539245b /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org
parent18fcb2cf1ceb0fa144c38182e432e25482af4bf6 (diff)
downloadorg.eclipse.osee-a50384bec11f3f52243bcb09d934109cae8bf9d6.tar.gz
org.eclipse.osee-a50384bec11f3f52243bcb09d934109cae8bf9d6.tar.xz
org.eclipse.osee-a50384bec11f3f52243bcb09d934109cae8bf9d6.zip
refactor: Remove TokenFactory.createBranch
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org')
-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, 1 insertions, 2 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 3989b2256e3..949709c5084 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
@@ -17,7 +17,6 @@ import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.osee.framework.core.data.BranchId;
-import org.eclipse.osee.framework.core.data.TokenFactory;
import org.eclipse.osee.framework.core.dsl.integration.util.OseeDslSegmentParser;
import org.eclipse.osee.framework.core.dsl.integration.util.OseeDslSegmentParser.OseeDslSegment;
import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
@@ -76,7 +75,7 @@ public class OseeDslArtifactUpdateOperation extends AbstractOperation {
}
protected void addChanges(Map<BranchId, SkynetTransaction> transactionMap, long branchId, String artifactGuid, String data) throws OseeCoreException {
- BranchId branch = TokenFactory.createBranch(branchId);
+ BranchId branch = BranchId.valueOf(branchId);
SkynetTransaction transaction = transactionMap.get(branch);
if (transaction == null) {
transaction = TransactionManager.createTransaction(branch, "OseeDslArtifactUpdate");

Back to the top