Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-09-26 20:43:29 +0000
committerRyan D. Brooks2016-09-28 14:44:14 +0000
commit9f245216dd1222dc63f1de00f22249d060ad4df6 (patch)
treec8630a0158e1fcb7e824c074f88235834f9f250a
parent561f3d726fd3aacea59c0a9b357d04125a8d337c (diff)
downloadorg.eclipse.osee-9f245216dd1222dc63f1de00f22249d060ad4df6.tar.gz
org.eclipse.osee-9f245216dd1222dc63f1de00f22249d060ad4df6.tar.xz
org.eclipse.osee-9f245216dd1222dc63f1de00f22249d060ad4df6.zip
bug: Fix null lambda expressions
-rw-r--r--plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/impl/RelationNodeAdjacenciesTest.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/impl/RelationNodeAdjacenciesTest.java b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/impl/RelationNodeAdjacenciesTest.java
index 831e29c3f8..b8f3d20042 100644
--- a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/impl/RelationNodeAdjacenciesTest.java
+++ b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/internal/relation/impl/RelationNodeAdjacenciesTest.java
@@ -38,7 +38,7 @@ import org.mockito.MockitoAnnotations;
/**
* Test Case for {@link RelationNodeAdjacencies}
- *
+ *
* @author Roberto E. Escobar
*/
public class RelationNodeAdjacenciesTest {
@@ -51,7 +51,7 @@ public class RelationNodeAdjacenciesTest {
@Mock Relation dirty;
@Mock Relation clean;
@Mock Relation deleted;
-
+
@Mock Relation relation;
@Mock HasLocalId localId;
// @formatter:on
@@ -208,19 +208,19 @@ public class RelationNodeAdjacenciesTest {
collection.add(TYPE_1.getGuid(), relation);
when(localId.getLocalId()).thenReturn(22);
- Relation actual =
- collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId, RelationSide.SIDE_A).getOneOrNull();
+ Relation actual = (Relation) collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId,
+ RelationSide.SIDE_A).getOneOrNull();
assertNull(actual);
- actual =
- collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId, RelationSide.SIDE_B).getOneOrNull();
+ actual = (Relation) collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId,
+ RelationSide.SIDE_B).getOneOrNull();
assertEquals(relation, actual);
when(localId.getLocalId()).thenReturn(11);
- actual =
- collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId, RelationSide.SIDE_A).getOneOrNull();
+ actual = (Relation) collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId,
+ RelationSide.SIDE_A).getOneOrNull();
assertEquals(relation, actual);
- actual =
- collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId, RelationSide.SIDE_B).getOneOrNull();
+ actual = (Relation) collection.getResultSet(TYPE_1, DeletionFlag.EXCLUDE_DELETED, localId,
+ RelationSide.SIDE_B).getOneOrNull();
assertNull(actual);
}

Back to the top