Code Review
/
policy
/
models.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix sonars in policy models
[policy/models.git]
/
models-pdp
/
src
/
main
/
java
/
org
/
onap
/
policy
/
models
/
pdp
/
persistence
/
concepts
/
JpaPdp.java
diff --git
a/models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdp.java
b/models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdp.java
index
87a52fe
..
daa327d
100644
(file)
--- a/
models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdp.java
+++ b/
models-pdp/src/main/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdp.java
@@
-131,7
+131,7
@@
public class JpaPdp extends PfConcept implements PfAuthorative<Pdp>, Serializabl
@Override
public Pdp toAuthorative() {
-
Pdp
pdp = new Pdp();
+
var
pdp = new Pdp();
pdp.setInstanceId(key.getLocalName());
pdp.setPdpState(pdpState);