fixed sonar issue in SvcLogicExpression.java
authorSandeep J <sandeejh@in.ibm.com>
Fri, 14 Dec 2018 13:36:56 +0000 (19:06 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 14 Dec 2018 13:37:09 +0000 (19:07 +0530)
fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: Ie7d170334ea0c704bf67ee175ef3cd1932171418
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicExpression.java

index 26783e7..81aeb6c 100644 (file)
@@ -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)