From 8bfd669ad19b7a0a3dd6747f12d7ba4f4f469619 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Tue, 4 Sep 2018 15:29:13 +0530 Subject: fixed major sonar isue in CreatNetworkNotification fixed major sonar issue as detailed in SO-968 Issue-ID: SO-968 Change-Id: Ib1b846a262e0426db3a0c16b28881befb22d7a52 Signed-off-by: Sandeep J --- .../so/adapters/network/async/client/CreateNetworkNotification.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adapters/mso-openstack-adapters/src/main/java/org/onap') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/CreateNetworkNotification.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/CreateNetworkNotification.java index 8135088d7c..fcce165d27 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/CreateNetworkNotification.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/CreateNetworkNotification.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 @@ -346,7 +348,7 @@ public class CreateNetworkNotification { */ public List getEntry() { if (entry == null) { - entry = new ArrayList(); + entry = new ArrayList<>(); } return this.entry; } -- cgit 1.2.3-korg