Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2016-02-02 16:34:02 +0000
committerAngel Avila2016-02-02 16:34:02 +0000
commit54f105e1a60321e42edf9a13527cc95b0efeae21 (patch)
tree9cca2c9185de6b2825c037ee3b5dd7a8c43d1a92 /plugins/org.eclipse.osee.ote.define
parentd3dc25a84c538031a7f85c23b209baaf494201fa (diff)
downloadorg.eclipse.osee-54f105e1a60321e42edf9a13527cc95b0efeae21.tar.gz
org.eclipse.osee-54f105e1a60321e42edf9a13527cc95b0efeae21.tar.xz
org.eclipse.osee-54f105e1a60321e42edf9a13527cc95b0efeae21.zip
refactor: Use BranchId in skynet.core
Diffstat (limited to 'plugins/org.eclipse.osee.ote.define')
-rw-r--r--plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java
index 38162437d9c..7a7eb49984e 100644
--- a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java
+++ b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/OutfileToArtifactOperation.java
@@ -21,7 +21,6 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.osee.framework.core.data.BranchId;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.enums.CoreRelationTypes;
-import org.eclipse.osee.framework.core.model.Branch;
import org.eclipse.osee.framework.core.threading.ThreadedWorkerExecutor;
import org.eclipse.osee.framework.core.threading.ThreadedWorkerFactory;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
@@ -75,13 +74,13 @@ public class OutfileToArtifactOperation {
private Artifact getParentArtifact() throws OseeCoreException {
Artifact root = OseeSystemArtifacts.getDefaultHierarchyRootArtifact(branch);
- Artifact testFolder = OseeSystemArtifacts.getOrCreateArtifact(CoreArtifactTypes.Folder, "Test", (Branch) branch);
+ Artifact testFolder = OseeSystemArtifacts.getOrCreateArtifact(CoreArtifactTypes.Folder, "Test", branch);
if (!root.isRelated(CoreRelationTypes.Default_Hierarchical__Child, testFolder)) {
root.addChild(testFolder);
root.persist("New Test Folder");
}
Artifact scriptFolder =
- OseeSystemArtifacts.getOrCreateArtifact(CoreArtifactTypes.Folder, "Test Script Results", (Branch) branch);
+ OseeSystemArtifacts.getOrCreateArtifact(CoreArtifactTypes.Folder, "Test Script Results", branch);
if (!testFolder.isRelated(CoreRelationTypes.Default_Hierarchical__Child, scriptFolder)) {
testFolder.addChild(scriptFolder);
testFolder.persist("New Test Script Results Folder");

Back to the top