fixed sonar issue in SvcLogicGraoh.java
authorSandeep J <sandeejh@in.ibm.com>
Fri, 7 Dec 2018 10:54:21 +0000 (16:24 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 7 Dec 2018 10:54:37 +0000 (16:24 +0530)
fixed sonar issues

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

index cbac154..97f2bd7 100644 (file)
@@ -1,10 +1,13 @@
 /*-
- * ============LICENSE_START=======================================================
+x * ============LICENSE_START=======================================================
  * ONAP : CCSDK
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights
  *                                             reserved.
  * ================================================================================
+ * Modifications copyright (C) 2017 AT&T Intellectual Property. All rights
+ *                                             reserved.
+ * ================================================================================
  * 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
@@ -46,8 +49,8 @@ public class SvcLogicGraph implements Serializable {
        
        public SvcLogicGraph()
        {
-               attributes = new HashMap<String, Serializable>();
-               namedNodes = new HashMap<String, SvcLogicNode>();
+               attributes = new HashMap<>();
+               namedNodes = new HashMap<>();
                rootNode = null;
        }