Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2016-03-28 20:29:03 +0000
committerRyan D. Brooks2016-03-28 20:29:03 +0000
commit3e4d1571ff0a415aafb328babaf7f809ef9a989b (patch)
treef7e406b32f1a701617c1db25d0492891af0d4acc /plugins/org.eclipse.osee.framework.database.init
parente32808ee6889bab4a670eff4a5099b57a6a4ff9f (diff)
downloadorg.eclipse.osee-3e4d1571ff0a415aafb328babaf7f809ef9a989b.tar.gz
org.eclipse.osee-3e4d1571ff0a415aafb328babaf7f809ef9a989b.tar.xz
org.eclipse.osee-3e4d1571ff0a415aafb328babaf7f809ef9a989b.zip
refactor: Remove unnecessary usage of guid from addArtifact
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database.init')
-rw-r--r--plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java
index 20bcf9901d5..5776068095e 100644
--- a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java
+++ b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/AddCommonBranch.java
@@ -26,7 +26,6 @@ import org.eclipse.osee.framework.core.enums.CoreBranches;
import org.eclipse.osee.framework.core.enums.SystemUser;
import org.eclipse.osee.framework.database.init.internal.OseeTypesSetup;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
-import org.eclipse.osee.framework.jdk.core.util.GUID;
import org.eclipse.osee.framework.jdk.core.util.Lib;
import org.eclipse.osee.framework.skynet.core.GlobalXViewerSettings;
import org.eclipse.osee.framework.skynet.core.OseeSystemArtifacts;
@@ -73,8 +72,8 @@ public abstract class AddCommonBranch implements IDbInitializationTask {
SkynetTransaction transaction1 = TransactionManager.createTransaction(COMMON, "Add Types to Common Branch");
for (Entry<String, URL> entry : typeMap.entrySet()) {
- Artifact artifact = ArtifactTypeManager.addArtifact(CoreArtifactTypes.OseeTypeDefinition, COMMON,
- entry.getKey(), GUID.create());
+ Artifact artifact =
+ ArtifactTypeManager.addArtifact(CoreArtifactTypes.OseeTypeDefinition, COMMON, entry.getKey());
artifact.setSoleAttributeValue(CoreAttributeTypes.Active, true);
InputStream inputStream = null;
try {

Back to the top