fixed sonar issue in RecordNodeExecutor.java
authorSandeep J <sandeejh@in.ibm.com>
Mon, 17 Dec 2018 06:10:14 +0000 (11:40 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Mon, 17 Dec 2018 06:10:43 +0000 (11:40 +0530)
fixed sonar issue

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

index 3522c0a..be5462b 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
@@ -48,7 +50,7 @@ public class RecordNodeExecutor extends AbstractSvcLogicNodeExecutor {
             LOG.trace(node.getNodeType() + " node encountered - looking for recorder class " + plugin);
         }
 
-        Map<String, String> parmMap = new HashMap<String, String>();
+        Map<String, String> parmMap = new HashMap<>();
 
         Set<Map.Entry<String, SvcLogicExpression>> parmSet = node.getParameterSet();
         boolean hasParms = false;