Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-08-09 20:54:58 +0000
committerrbrooks2010-08-09 20:54:58 +0000
commitfea50b1a2ced0f17a0059b4524656abf7c419ce6 (patch)
treeea15ea6c209b6fce35c8d0ee59399ddede0f2854 /plugins/org.eclipse.osee.ote.define
parenta6267b1b107c6c62cece1ed1ed2351b09aa96957 (diff)
downloadorg.eclipse.osee-fea50b1a2ced0f17a0059b4524656abf7c419ce6.tar.gz
org.eclipse.osee-fea50b1a2ced0f17a0059b4524656abf7c419ce6.tar.xz
org.eclipse.osee-fea50b1a2ced0f17a0059b4524656abf7c419ce6.zip
converted more string based type references to use type tokens
Diffstat (limited to 'plugins/org.eclipse.osee.ote.define')
-rw-r--r--plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/OteToAttributeMap.java2
-rw-r--r--plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/TestRunOperator.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/OteToAttributeMap.java b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/OteToAttributeMap.java
index e37234fb42..acf25b1362 100644
--- a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/OteToAttributeMap.java
+++ b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/OteToAttributeMap.java
@@ -31,7 +31,7 @@ public class OteToAttributeMap {
private OteToAttributeMap() {
outfileFieldToAttributeMap = new HashMap<TestRunField, String>();
- outfileFieldToAttributeMap.put(TestRunField.USER_ID, CoreAttributeTypes.USER_ID.getName());
+ outfileFieldToAttributeMap.put(TestRunField.USER_ID, CoreAttributeTypes.UserId.getName());
outfileFieldToAttributeMap.put(TestRunField.SCRIPT_REVISION, OteAttributeTypes.REVISION.getName());
outfileFieldToAttributeMap.put(TestRunField.SCRIPT_MODIFIED_FLAG, OteAttributeTypes.MODIFIED_FLAG.getName());
diff --git a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/TestRunOperator.java b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/TestRunOperator.java
index e241ae4ffd..6cc1d99162 100644
--- a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/TestRunOperator.java
+++ b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/artifacts/TestRunOperator.java
@@ -184,7 +184,7 @@ public class TestRunOperator {
public void createTestScriptSoftLink() throws OseeCoreException {
Artifact testScript =
- getTestScriptFetcher().searchForUniqueArtifactMatching(CoreAttributeTypes.NAME, artifact.getName(),
+ getTestScriptFetcher().searchForUniqueArtifactMatching(CoreAttributeTypes.Name, artifact.getName(),
artifact.getBranch());
if (testScript != null) {
artifact.setSoleAttributeValue(OteAttributeTypes.TEST_SCRIPT_GUID.getName(), testScript.getGuid());

Back to the top