Fix sonars in xacml-pdp
[policy/xacml-pdp.git] / applications / common / src / main / java / org / onap / policy / pdp / xacml / application / common / matchable / MatchablePolicyType.java
index c0cbb77..fe79e86 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP
  * ================================================================================
- * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
  * Modifications Copyright (C) 2020-2021 Nordix Foundation.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -117,7 +117,7 @@ public class MatchablePolicyType {
             MatchableCallback callback) {
         for (Entry<String, ToscaProperty> entrySet : properties.entrySet()) {
             final String property = entrySet.getKey();
-            final ToscaProperty toscaProperty = entrySet.getValue();
+            final var toscaProperty = entrySet.getValue();
             //
             // Most likely case is its a primitive
             //