summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-07 16:06:55 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-07 16:07:37 +0530
commitd43c10e65a6e12da041f0b47f26a3e28e0d0fa5a (patch)
treefe5b3ddf401094db3bf1712664fa5d272a68cffc
parent7db11491f101ed834da2f73958647240502677df (diff)
fixed sonar issue in SvcLogicBinaryExpression
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Iea683bb51d07daa0f7f3b48b4c83642a427edfbd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicBinaryExpression.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicBinaryExpression.java b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicBinaryExpression.java
index 45458e8d6..a990dd950 100644
--- a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicBinaryExpression.java
+++ b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicBinaryExpression.java
@@ -5,6 +5,8 @@
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
* ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -81,7 +83,7 @@ public class SvcLogicBinaryExpression extends SvcLogicExpression {
public SvcLogicBinaryExpression()
{
- operators = new LinkedList<OperatorType>();
+ operators = new LinkedList<>();
}
public void addOperator(String operator)