Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2013-10-10 02:40:52 -0400
committerRyan D. Brooks2013-10-21 17:52:31 -0400
commit29e5cbd3ada4944d87be066441d8b77a2a345285 (patch)
tree719f427eea77bd3d6f2fab43a67760f303fa259b /plugins/org.eclipse.osee.orcs.core.test
parent19d8e47107f2bb747487556f9914b5dc6971c086 (diff)
downloadorg.eclipse.osee-29e5cbd3ada4944d87be066441d8b77a2a345285.tar.gz
org.eclipse.osee-29e5cbd3ada4944d87be066441d8b77a2a345285.tar.xz
org.eclipse.osee-29e5cbd3ada4944d87be066441d8b77a2a345285.zip
refactor: Make AbstractIdentity a concrete class
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.core.test')
-rw-r--r--plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/sorter/SorterTest.java17
1 files changed, 4 insertions, 13 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/sorter/SorterTest.java b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/sorter/SorterTest.java
index 6b5bacc897..3377b2e85c 100644
--- a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/sorter/SorterTest.java
+++ b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/sorter/SorterTest.java
@@ -14,7 +14,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
-import org.eclipse.osee.framework.core.data.AbstractIdentity;
+import org.eclipse.osee.framework.core.data.BaseIdentity;
import org.eclipse.osee.framework.core.data.IRelationSorterId;
import org.eclipse.osee.framework.core.data.Identifiable;
import org.eclipse.osee.framework.core.enums.RelationOrderBaseTypes;
@@ -154,26 +154,17 @@ public class SorterTest {
return new TestItem(GUID.create(), name);
}
- private static final class TestItem extends AbstractIdentity<String> implements Identifiable<String> {
-
- private final String guid;
+ private static final class TestItem extends BaseIdentity<String> implements Identifiable<String> {
private final String name;
public TestItem(String guid, String name) {
- super();
- this.guid = guid;
+ super(guid);
this.name = name;
}
@Override
- public String getGuid() {
- return guid;
- }
-
- @Override
public String getName() {
return name;
}
-
}
-}
+} \ No newline at end of file

Back to the top