Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-10-06 14:30:15 -0400
committerRyan D. Brooks2010-10-06 14:30:15 -0400
commit88f4b3eabed1a3209177a7d0eb9a3315d823240e (patch)
tree9b39c18db3282862878fd19e3853bc2db6f4cb68 /plugins/org.eclipse.osee.coverage
parentad0fcfa58a8e22bc351e889a019d139bfaf31c83 (diff)
downloadorg.eclipse.osee-88f4b3eabed1a3209177a7d0eb9a3315d823240e.tar.gz
org.eclipse.osee-88f4b3eabed1a3209177a7d0eb9a3315d823240e.tar.xz
org.eclipse.osee-88f4b3eabed1a3209177a7d0eb9a3315d823240e.zip
refinement: Move Coverage tests to non-common branch
Diffstat (limited to 'plugins/org.eclipse.osee.coverage')
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/CoveragePreferences.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/CoveragePreferences.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/CoveragePreferences.java
index c27fd74f79..ed29da4785 100644
--- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/CoveragePreferences.java
+++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/model/CoveragePreferences.java
@@ -19,7 +19,6 @@ import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.Branch;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactTypeManager;
-import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
import org.eclipse.osee.framework.skynet.core.artifact.KeyValueArtifact;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.ui.plugin.util.Result;
@@ -46,9 +45,7 @@ public class CoveragePreferences {
}
}
if (artifact == null) {
- artifact =
- ArtifactTypeManager.addArtifact(CoreArtifactTypes.GeneralData, BranchManager.getCommonBranch(),
- ARTIFACT_NAME);
+ artifact = ArtifactTypeManager.addArtifact(CoreArtifactTypes.GeneralData, branch, ARTIFACT_NAME);
artifact.persist("Coverage Preferences - creation");
}
return artifact;

Back to the top