summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-09 17:29:31 +0530
committerSandeep Jha <sandeejh@in.ibm.com>2019-01-09 12:17:38 +0000
commit6f58127124ffb2b2baafe70ff7453b1d1340fd45 (patch)
tree1dd231bd84d1eca6f3bcc094b45714528f9a0f11
parent75da5d3681c44326e4766ce9e3a110f11ee108d4 (diff)
fixed sonar issue in MdsalResourceActivator.java
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I9cd20d7bd20b0f914aa2302befe9dd47d2354e6a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--mdsal-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdsal-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java b/mdsal-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java
index 004e68227..53ed65725 100644
--- a/mdsal-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java
+++ b/mdsal-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java
@@ -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
@@ -20,7 +22,7 @@
*/
package org.onap.ccsdk.sli.adaptors.resource.mdsal;
-
+
import java.io.File;
import java.io.FileInputStream;
import java.util.LinkedList;
@@ -40,7 +42,7 @@ public class MdsalResourceActivator implements BundleActivator {
private static final String SDNC_CONFIG_DIR = "SDNC_CONFIG_DIR";
- public LinkedList<ServiceRegistration> registrations = new LinkedList<ServiceRegistration>();
+ public LinkedList<ServiceRegistration> registrations = new LinkedList<>();
private static final Logger LOG = LoggerFactory
.getLogger(MdsalResourceActivator.class);