aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-09-03 19:15:39 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-09-03 19:16:23 +0530
commit332f24131b217766c840536fec6d9cd26a71be5b (patch)
tree4b6a2e6adb80d22e025f481485cf9f90e6b8a4eb /adapters
parentb1c2cbe73420cbb62f643488422f174fe3311b1c (diff)
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 <sandeejh@in.ibm.com>
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/UpdateNetworkNotification.java4
1 files changed, 3 insertions, 1 deletions
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<UpdateNetworkNotification.SubnetIdMap.Entry> getEntry() {
if (entry == null) {
- entry = new ArrayList<UpdateNetworkNotification.SubnetIdMap.Entry>();
+ entry = new ArrayList<>();
}
return this.entry;
}