diff options
author | Ryan D. Brooks | 2013-10-10 06:40:52 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2013-10-21 21:52:31 +0000 |
commit | 29e5cbd3ada4944d87be066441d8b77a2a345285 (patch) | |
tree | 719f427eea77bd3d6f2fab43a67760f303fa259b /plugins/org.eclipse.osee.orcs.core.test | |
parent | 19d8e47107f2bb747487556f9914b5dc6971c086 (diff) | |
download | org.eclipse.osee-29e5cbd3ada4944d87be066441d8b77a2a345285.tar.gz org.eclipse.osee-29e5cbd3ada4944d87be066441d8b77a2a345285.tar.xz org.eclipse.osee-29e5cbd3ada4944d87be066441d8b77a2a345285.zip |
refactor: Make AbstractIdentity a concrete class
Change-Id: I6cff93474328da93a30bb798116cf17cd11e9476
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.java | 17 |
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 6b5bacc8970..3377b2e85ca 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 |