aboutsummaryrefslogtreecommitdiffstats
path: root/PolicyEngineAPI
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-01-12 20:19:06 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-12 20:19:06 +0000
commitfb3cc27605623672fb8971bd9030872f117c7af8 (patch)
tree385f303c6e4b7b38e7910462b3ae4c9a463dd911 /PolicyEngineAPI
parentcedb4478c6ff50a61dc1d1b445d39401606061b5 (diff)
parent7a0d068cd318eedce284c48dd46faccf2f5335ec (diff)
Merge "Sonar cleanup for PolicyEngineUtils"
Diffstat (limited to 'PolicyEngineAPI')
-rw-r--r--PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java
index 6a558006d..23b570e9a 100644
--- a/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java
+++ b/PolicyEngineAPI/src/test/java/org/onap/policy/std/test/StdPDPNotificationTest.java
@@ -21,6 +21,7 @@
package org.onap.policy.std.test;
import java.util.Collection;
+import java.util.Collections;
import java.util.LinkedList;
import org.junit.*;
@@ -115,7 +116,7 @@ public class StdPDPNotificationTest {
Collection<LoadedPolicy> result = fixture.getLoadedPolicies();
// add additional test code here
- assertEquals(null, result);
+ assertEquals(Collections.EMPTY_LIST, result);
}
/**
@@ -204,7 +205,7 @@ public class StdPDPNotificationTest {
Collection<RemovedPolicy> result = fixture.getRemovedPolicies();
// add additional test code here
- assertEquals(null, result);
+ assertEquals(Collections.EMPTY_LIST, result);
}
/**