fixed sonar issue in SvCLogicExprListener.java
authorSandeep J <sandeejh@in.ibm.com>
Fri, 14 Dec 2018 13:31:33 +0000 (19:01 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 14 Dec 2018 13:32:32 +0000 (19:02 +0530)
fixed sonar issue

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

index 2a40e7a..e96b702 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
@@ -55,7 +57,7 @@ public class SvcLogicExprListener extends ExprGrammarBaseListener
        
        public SvcLogicExprListener()
        {
-               exprStack = new LinkedList<SvcLogicExpression>();
+               exprStack = new LinkedList<>();
        }
        
        public SvcLogicExpression getParsedExpr()