From ef9258807505ff24e8221bae25d06ab65029397c Mon Sep 17 00:00:00 2001 From: rb7147 Date: Mon, 12 Feb 2018 22:46:09 -0500 Subject: Added Junits for Policy PAP-REST Resolved the sonar issues. Added JUnits for ONAP-PAP-REST and ONAP-REST Component. Issue-ID: POLICY-338 Change-Id: Ibec2613f4f61e9ed426583af17c2a9d5b8c8d85d Signed-off-by: rb7147 --- .../java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'ONAP-REST/src/main/java/org') diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java index c69476fac..576889504 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/ClosedLoopD2Services.java @@ -53,9 +53,6 @@ import org.onap.policy.rest.XacmlAdminAuthorization; public class ClosedLoopD2Services implements Serializable{ private static final long serialVersionUID = 1L; - private static String domain; - - @Id @Column(name ="id") @GeneratedValue(strategy = GenerationType.AUTO) @@ -105,14 +102,6 @@ public class ClosedLoopD2Services implements Serializable{ public ClosedLoopD2Services(){ //An empty constructor } - - public ClosedLoopD2Services(String string, String userid) { - this(domain); - } - - public ClosedLoopD2Services(String domain) { - this.serviceName = domain; - } @PrePersist public void prePersist() { -- cgit 1.2.3-korg