summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-14 19:06:56 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-14 19:07:09 +0530
commit57be9d28ec29c029fc72e9fac13da98764252ece (patch)
tree529cb53359c9a7b5453c7755171d3a57f27650ec
parent6dd2c1b07cc306750dd9ee93cf8bb2f615f076aa (diff)
fixed sonar issue in SvcLogicExpression.java
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ie7d170334ea0c704bf67ee175ef3cd1932171418 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicExpression.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicExpression.java b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicExpression.java
index 26783e70..81aeb6c3 100644
--- a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicExpression.java
+++ b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicExpression.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
@@ -28,7 +30,7 @@ import java.util.List;
public abstract class SvcLogicExpression implements Serializable {
- private List<SvcLogicExpression> operands = new LinkedList<SvcLogicExpression>();
+ private List<SvcLogicExpression> operands = new LinkedList<>();
public void addOperand(SvcLogicExpression expr)