From 49048e277bba438cf6486c1229b53f608a7af114 Mon Sep 17 00:00:00 2001 From: rb7147 Date: Tue, 13 Feb 2018 18:17:22 -0500 Subject: Added Junits for Policy PAP-REST Cleaned the unnecessary constructors and methods in onap-rest. Added Junits for JPA Classes in ONAP-REST. Issue-ID: POLICY-338 Change-Id: I7e4f928342315475db96d89e9ad3adac5cb7eb00 Signed-off-by: rb7147 --- .../rest/controller/DictionaryImportController.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ONAP-PAP-REST/src') diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java index a56689547..c79f203cd 100644 --- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java +++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java @@ -486,7 +486,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("PrefixList")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - PrefixList attribute = new PrefixList("", userId); + PrefixList attribute = new PrefixList(); String[] rows = dictSheet.get(i); for (int j=0 ; j