summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2021-06-02 11:57:55 +0100
committerWayneDunican <wayne.dunican@est.tech>2021-06-02 11:58:49 +0100
commitbdd1d8713925f4d3b86cd04fffb38d6ff64174ed (patch)
tree2a47893438aad6907e6fe2cb57288365909fe603 /main
parent5e380ee55af1dcc852965a5e3d8f32cb7226936c (diff)
Fix build failure and remove unused imports
Issue-ID: POLICY-3339 Change-Id: I0c9bd25e63b24ba3ac7e38a77e963fcdbaa4d26a Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/org/onap/policy/pap/main/comm/msgdata/UpdateReq.java1
-rw-r--r--main/src/main/java/org/onap/policy/pap/main/rest/ProviderBase.java1
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateReqTest.java3
3 files changed, 1 insertions, 4 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/comm/msgdata/UpdateReq.java b/main/src/main/java/org/onap/policy/pap/main/comm/msgdata/UpdateReq.java
index d0d1f5f0..4aeed4f7 100644
--- a/main/src/main/java/org/onap/policy/pap/main/comm/msgdata/UpdateReq.java
+++ b/main/src/main/java/org/onap/policy/pap/main/comm/msgdata/UpdateReq.java
@@ -23,7 +23,6 @@ package org.onap.policy.pap.main.comm.msgdata;
import java.util.Collection;
import java.util.Collections;
-import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
diff --git a/main/src/main/java/org/onap/policy/pap/main/rest/ProviderBase.java b/main/src/main/java/org/onap/policy/pap/main/rest/ProviderBase.java
index a21c2a15..6fa0ef3d 100644
--- a/main/src/main/java/org/onap/policy/pap/main/rest/ProviderBase.java
+++ b/main/src/main/java/org/onap/policy/pap/main/rest/ProviderBase.java
@@ -23,7 +23,6 @@
package org.onap.policy.pap.main.rest;
import java.util.Collection;
-import java.util.stream.Collectors;
import javax.ws.rs.core.Response.Status;
import org.onap.policy.common.utils.services.Registry;
import org.onap.policy.models.base.PfModelException;
diff --git a/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateReqTest.java b/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateReqTest.java
index 306418c4..c318a035 100644
--- a/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateReqTest.java
+++ b/main/src/test/java/org/onap/policy/pap/main/comm/msgdata/UpdateReqTest.java
@@ -24,7 +24,6 @@ package org.onap.policy.pap.main.comm.msgdata;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
@@ -193,7 +192,7 @@ public class UpdateReqTest extends CommonRequestBase {
// same content - should succeed, but leave message unchanged
PdpUpdate msg2 = new PdpUpdate(update);
assertTrue(data.reconfigure(msg2));
- assertNotSame(update, data.getMessage());
+ assertSame(update, data.getMessage());
// different content - should succeed and install NEW message
msg2.setPdpGroup(DIFFERENT);