fixed sonar issue in SvcLogicBinaryExpression
authorSandeep J <sandeejh@in.ibm.com>
Fri, 7 Dec 2018 10:36:55 +0000 (16:06 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 7 Dec 2018 10:37:37 +0000 (16:07 +0530)
fixed sonar issue

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

index 45458e8..a990dd9 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
@@ -81,7 +83,7 @@ public class SvcLogicBinaryExpression extends SvcLogicExpression {
 
        public SvcLogicBinaryExpression()
        {
-               operators = new LinkedList<OperatorType>();
+               operators = new LinkedList<>();
        }
        
        public void addOperator(String operator)