summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-12-07 16:24:21 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-12-07 16:24:37 +0530
commitcc93ca92ff6391d04e939c7b83fc99d7b100e5c3 (patch)
treef242380942110f1f43512eeb6fa7535431544166
parent7db11491f101ed834da2f73958647240502677df (diff)
fixed sonar issue in SvcLogicGraoh.java
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: If14288410ad7be50d8fdfb942f11383a9f58eab0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicGraph.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicGraph.java b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicGraph.java
index cbac1544..97f2bd7a 100644
--- a/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicGraph.java
+++ b/sli/common/src/main/java/org/onap/ccsdk/sli/core/sli/SvcLogicGraph.java
@@ -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;
}