Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2016-09-17 18:22:44 +0000
committerdonald.g.dunne2016-09-17 18:22:44 +0000
commitc812509191bfcab6fbdef2d7a1fc0c6e1a96a010 (patch)
treeb87782f14e517149ff2ec235a51625b146fd9d5d /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org
parentcabbc7b4f78f370a035995636d1b2f398c2b26d0 (diff)
downloadorg.eclipse.osee-c812509191bfcab6fbdef2d7a1fc0c6e1a96a010.tar.gz
org.eclipse.osee-c812509191bfcab6fbdef2d7a1fc0c6e1a96a010.tar.xz
org.eclipse.osee-c812509191bfcab6fbdef2d7a1fc0c6e1a96a010.zip
refactor: Remove DefaultBasicArtifact
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/ArtifactDataProviderImpl.java4
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataProviderImpl.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataProviderImpl.java
index f9a756fcce0..25b094059bf 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataProviderImpl.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataProviderImpl.java
@@ -14,11 +14,11 @@ import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.logging.Level;
+import org.eclipse.osee.framework.core.data.ArtifactToken;
import org.eclipse.osee.framework.core.data.BranchId;
import org.eclipse.osee.framework.core.data.IAttributeType;
import org.eclipse.osee.framework.core.data.IOseeBranch;
import org.eclipse.osee.framework.core.dsl.integration.ArtifactDataProvider;
-import org.eclipse.osee.framework.core.model.IBasicArtifact;
import org.eclipse.osee.framework.core.model.type.ArtifactType;
import org.eclipse.osee.framework.core.model.type.RelationType;
import org.eclipse.osee.framework.jdk.core.type.Id;
@@ -82,7 +82,7 @@ public final class ArtifactDataProviderImpl implements ArtifactDataProvider {
}
@Override
- public IBasicArtifact<?> getObject() {
+ public ArtifactToken getObject() {
return self;
}
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java
index bce02b89735..3989b2256e3 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslArtifactUpdateOperation.java
@@ -60,7 +60,7 @@ public class OseeDslArtifactUpdateOperation extends AbstractOperation {
int endAt = segment.end();
String data = source.substring(startAt, endAt);
- addChanges(transactionMap, segment.getBranchUuid(), segment.getArtifactGuid(), data);
+ addChanges(transactionMap, segment.getBranchId(), segment.getArtifactGuid(), data);
monitor.worked(workAmount);
}
monitor.setTaskName("Persist...");

Back to the top