aboutsummaryrefslogtreecommitdiffstats
path: root/applications/native/src/main
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-10 15:51:02 -0400
committerJim Hahn <jrh3@att.com>2021-06-10 15:51:34 -0400
commit109dc568e31018d3469b7c778e873e0425cdee8a (patch)
tree54c6f0813f28f28e1fb20e62b097c5f345380708 /applications/native/src/main
parent4629f19b9ca6d6fcbb66fb43327a087d700744e9 (diff)
Fix sonars in xacml-pdp
Fixed sonars: - use "var" Issue-ID: POLICY-3288 Change-Id: If4f685e0d645f6d6fbdd2cdb86c6b67336f6839a Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'applications/native/src/main')
-rw-r--r--applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java b/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java
index 3411d365..a1230c2d 100644
--- a/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java
+++ b/applications/native/src/main/java/org/onap/policy/xacml/pdp/application/nativ/NativePdpApplicationTranslator.java
@@ -88,7 +88,7 @@ public class NativePdpApplicationTranslator implements ToscaPolicyTranslator {
private String getNativeXacmlPolicy(ToscaPolicy toscaPolicy) throws ToscaPolicyConversionException {
- NativeDefinition nativeDefinition = ToscaPolicyTranslatorUtils.decodeProperties(toscaPolicy.getProperties(),
+ var nativeDefinition = ToscaPolicyTranslatorUtils.decodeProperties(toscaPolicy.getProperties(),
NativeDefinition.class);
LOGGER.debug("Base64 encoded native xacml policy {}", nativeDefinition.getPolicy());