Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2015-10-27 18:20:11 +0000
committerRyan D. Brooks2015-10-27 18:20:11 +0000
commit5867f52455e1fb47cc397fec4d49dcd3075ef006 (patch)
tree86381bbae7651418d9af2f6c0ff77e66f4fc6b6d /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org
parent9568aaf794b2ff2f3c16f5ef823c3fb1e7df8362 (diff)
downloadorg.eclipse.osee-5867f52455e1fb47cc397fec4d49dcd3075ef006.tar.gz
org.eclipse.osee-5867f52455e1fb47cc397fec4d49dcd3075ef006.tar.xz
org.eclipse.osee-5867f52455e1fb47cc397fec4d49dcd3075ef006.zip
refactor: Remove BranchManager.getCommonBranch
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/OseeTypeModifier.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeTypeModifier.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeTypeModifier.java
index e8687a0126b..41a19c1299d 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeTypeModifier.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeTypeModifier.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.osee.framework.core.dsl.ui.integration.internal;
+import static org.eclipse.osee.framework.core.enums.CoreArtifactTypes.OseeTypeDefinition;
+import static org.eclipse.osee.framework.core.enums.CoreBranches.COMMON;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
@@ -20,7 +22,6 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.osee.framework.core.dsl.OseeDslResourceUtil;
import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeDsl;
import org.eclipse.osee.framework.core.dsl.oseeDsl.OseeType;
-import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
import org.eclipse.osee.framework.core.exception.OseeExceptions;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
@@ -28,7 +29,6 @@ import org.eclipse.osee.framework.jdk.core.util.Conditions;
import org.eclipse.osee.framework.jdk.core.util.HexUtil;
import org.eclipse.osee.framework.jdk.core.util.Lib;
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.ui.skynet.render.AttributeModifier;
@@ -43,8 +43,7 @@ public class OseeTypeModifier implements AttributeModifier {
OseeExceptions.wrapAndThrow(ex);
}
- List<Artifact> artifacts =
- ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.OseeTypeDefinition, BranchManager.getCommonBranch());
+ List<Artifact> artifacts = ArtifactQuery.getArtifactListFromType(OseeTypeDefinition, COMMON);
StringBuilder combinedSheets = new StringBuilder();
for (Artifact art : artifacts) {
String sheetData;

Back to the top