From 332f24131b217766c840536fec6d9cd26a71be5b Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Mon, 3 Sep 2018 19:15:39 +0530 Subject: fixed sonar isue in UpdateNetworkNotification.java fixed sonar issue as detailed in SO-956 Issue-ID: SO-956 Change-Id: Ibd7ea95c996bf6119abf2aca9990d2c42bb01ecd Signed-off-by: Sandeep J --- .../so/adapters/network/async/client/UpdateNetworkNotification.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adapters/mso-openstack-adapters/src/main/java/org') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/UpdateNetworkNotification.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/UpdateNetworkNotification.java index f61d0a8dea..daff548b45 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/UpdateNetworkNotification.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/UpdateNetworkNotification.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 @@ -292,7 +294,7 @@ public class UpdateNetworkNotification { */ public List getEntry() { if (entry == null) { - entry = new ArrayList(); + entry = new ArrayList<>(); } return this.entry; } -- cgit 1.2.3-korg