summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot1 <srinivasa.mohan@huawei.com>2018-01-09 16:29:05 +0530
committerPamela Dragosh <pdragosh@research.att.com>2018-01-11 18:51:05 +0000
commitcedb4478c6ff50a61dc1d1b445d39401606061b5 (patch)
tree71f7fd89ba73b685ac9a63b2b9c0974bfdadbf2b
parentf0d9cfb56a032242527a9837fd613fe64fbfee42 (diff)
Removed useless parentheses
*Removed those useless parentheses Change-Id: I19e9e027182dfd7dc2211d71fbb4acd8bf6b8be5 Issue-ID: POLICY-336 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
-rw-r--r--POLICY-SDK-APP/src/main/java/org/onap/policy/controller/ActionPolicyController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/ActionPolicyController.java b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/ActionPolicyController.java
index 0f66a45e6..2f3c91476 100644
--- a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/ActionPolicyController.java
+++ b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/ActionPolicyController.java
@@ -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);