Removed useless parentheses 07/27707/2
authorroot1 <srinivasa.mohan@huawei.com>
Tue, 9 Jan 2018 10:59:05 +0000 (16:29 +0530)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 11 Jan 2018 18:51:05 +0000 (18:51 +0000)
*Removed those useless parentheses

Change-Id: I19e9e027182dfd7dc2211d71fbb4acd8bf6b8be5
Issue-ID: POLICY-336
Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
POLICY-SDK-APP/src/main/java/org/onap/policy/controller/ActionPolicyController.java

index 0f66a45..2f3c914 100644 (file)
@@ -257,7 +257,7 @@ public class ActionPolicyController extends RestrictedBaseController {
             ruleMap.put("dynamicRuleAlgorithmField2", attributeValue);
         }
         // Rule Attribute added as value
-        else if (((jaxbActionTypes.get(0).getValue()) instanceof AttributeValueType)) {
+        else if ((jaxbActionTypes.get(0).getValue()) instanceof AttributeValueType) {
             AttributeValueType actionConditionAttributeValue = (AttributeValueType) jaxbActionTypes.get(0).getValue();
             String attributeValue = (String) actionConditionAttributeValue.getContent().get(0);
             ruleMap.put("dynamicRuleAlgorithmField2", attributeValue);