fixed sonar issue in MdsalResourceActivator.java 54/75554/2
authorSandeep J <sandeejh@in.ibm.com>
Wed, 9 Jan 2019 11:59:31 +0000 (17:29 +0530)
committerSandeep Jha <sandeejh@in.ibm.com>
Wed, 9 Jan 2019 12:17:38 +0000 (12:17 +0000)
fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: I9cd20d7bd20b0f914aa2302befe9dd47d2354e6a
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
mdsal-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java

index 004e682..53ed657 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
@@ -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);