Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2016-02-04 17:07:07 -0500
committerRyan D. Brooks2016-02-04 17:07:07 -0500
commit557079ac9aee8e8a41ab7ebce05c6142d64dafb9 (patch)
treea5ba9cc7c98a0804884686c1aa8d84abc0c64b63 /plugins/org.eclipse.osee.orcs.db.test
parent0d22cf094b4cb632a9b65a205e6c1f2b253fe61f (diff)
downloadorg.eclipse.osee-557079ac9aee8e8a41ab7ebce05c6142d64dafb9.tar.gz
org.eclipse.osee-557079ac9aee8e8a41ab7ebce05c6142d64dafb9.tar.xz
org.eclipse.osee-557079ac9aee8e8a41ab7ebce05c6142d64dafb9.zip
refactor: Use BranchId were appropriate
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db.test')
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/search/engines/BranchQuerySqlContextFactoryImplTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/search/engines/BranchQuerySqlContextFactoryImplTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/search/engines/BranchQuerySqlContextFactoryImplTest.java
index ab081bb00b..5a417c1e82 100644
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/search/engines/BranchQuerySqlContextFactoryImplTest.java
+++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/search/engines/BranchQuerySqlContextFactoryImplTest.java
@@ -23,7 +23,7 @@ import static org.mockito.Mockito.when;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
-import org.eclipse.osee.framework.core.data.IOseeBranch;
+import org.eclipse.osee.framework.core.data.BranchId;
import org.eclipse.osee.framework.core.enums.BranchArchivedState;
import org.eclipse.osee.framework.core.enums.BranchState;
import org.eclipse.osee.framework.core.enums.BranchType;
@@ -481,11 +481,11 @@ public class BranchQuerySqlContextFactoryImplTest {
assertEquals(4, iterator.next());
}
- private static Criteria ancestorOf(IOseeBranch child) {
+ private static Criteria ancestorOf(BranchId child) {
return new CriteriaBranchAncestorOf(child);
}
- private static Criteria childOf(IOseeBranch parent) {
+ private static Criteria childOf(BranchId parent) {
return new CriteriaBranchChildOf(parent);
}

Back to the top