Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Unit/SONAR/Checkstyle in ONAP-REST
[policy/engine.git]
/
ONAP-REST
/
src
/
main
/
java
/
org
/
onap
/
policy
/
rest
/
adapter
/
PolicyRestAdapter.java
diff --git
a/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/PolicyRestAdapter.java
b/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/PolicyRestAdapter.java
index
97e6e9e
..
e7879a8
100644
(file)
--- a/
ONAP-REST/src/main/java/org/onap/policy/rest/adapter/PolicyRestAdapter.java
+++ b/
ONAP-REST/src/main/java/org/onap/policy/rest/adapter/PolicyRestAdapter.java
@@
-23,7
+23,9
@@
package org.onap.policy.rest.adapter;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
+
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityManagerFactory;
+
import org.onap.policy.rest.jpa.OnapName;
public class PolicyRestAdapter {
import org.onap.policy.rest.jpa.OnapName;
public class PolicyRestAdapter {
@@
-1160,7
+1162,7
@@
public class PolicyRestAdapter {
case "ONAPName":
this.setOnapName(value);
OnapName tempOnapName = new OnapName();
case "ONAPName":
this.setOnapName(value);
OnapName tempOnapName = new OnapName();
- tempOnapName.set
Onap
Name(value);
+ tempOnapName.setName(value);
this.setOnapNameField(tempOnapName);
return true;
case "RiskType":
this.setOnapNameField(tempOnapName);
return true;
case "RiskType":