From 12d6c5444eeb4d74fffeee6c343946cc4cd1b03d Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Mon, 3 Sep 2018 19:07:54 +0530 Subject: fixed sonar issue in QueryNetworkNotifier.java fixed sonar issue as detailed in SO-955 Issue-ID: SO-955 Change-Id: Ieed7029b8d8e437e48392eafa51a774792ba539c Signed-off-by: Sandeep J --- .../so/adapters/network/async/client/QueryNetworkNotification.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'adapters/mso-openstack-adapters/src') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/QueryNetworkNotification.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/QueryNetworkNotification.java index 55a8e3d0d1..87aa2183f1 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/QueryNetworkNotification.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/QueryNetworkNotification.java @@ -4,6 +4,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 @@ -314,7 +316,7 @@ public class QueryNetworkNotification { */ public List getVlans() { if (vlans == null) { - vlans = new ArrayList(); + vlans = new ArrayList<>(); } return this.vlans; } @@ -406,7 +408,7 @@ public class QueryNetworkNotification { */ public List getEntry() { if (entry == null) { - entry = new ArrayList(); + entry = new ArrayList<>(); } return this.entry; } -- cgit 1.2.3-korg