From 6f58127124ffb2b2baafe70ff7453b1d1340fd45 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Wed, 9 Jan 2019 17:29:31 +0530 Subject: fixed sonar issue in MdsalResourceActivator.java fixed sonar issue Issue-ID: CCSDK-525 Change-Id: I9cd20d7bd20b0f914aa2302befe9dd47d2354e6a Signed-off-by: Sandeep J --- .../ccsdk/sli/adaptors/resource/mdsal/MdsalResourceActivator.java | 6 ++++-- 1 file 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 registrations = new LinkedList(); + public LinkedList registrations = new LinkedList<>(); private static final Logger LOG = LoggerFactory .getLogger(MdsalResourceActivator.class); -- cgit 1.2.3-korg