Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-09-26 16:43:29 -0400
committerAngel Avila2016-10-04 21:35:29 -0400
commit6ed460acb9873d62390a9ec9a5eb97d2cee72bcc (patch)
treef471c47e4e898a46944259b8a4e0456b9dd990e0
parent7631e7a0cebbf7eb511cf5cf6fe92fafbcc076d4 (diff)
downloadorg.eclipse.osee-6ed460acb9873d62390a9ec9a5eb97d2cee72bcc.tar.gz
org.eclipse.osee-6ed460acb9873d62390a9ec9a5eb97d2cee72bcc.tar.xz
org.eclipse.osee-6ed460acb9873d62390a9ec9a5eb97d2cee72bcc.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 831e29c3f89..b8f3d20042e 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