From 28aed9df507b6b65b3cbce608a8298500e0e40e0 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Mon, 3 Sep 2018 18:47:52 +0530 Subject: fixed sonar issue in NetworkRollback.java fixed sonar issue as detailed in SO-954 Issue-ID: SO-954 Change-Id: I89d1e082820f76bcbe282bba35fd9144283afe74 Signed-off-by: Sandeep J --- .../org/onap/so/adapters/network/async/client/NetworkRollback.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adapters/mso-openstack-adapters/src/main') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/NetworkRollback.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/NetworkRollback.java index 4fde850a53..e7ace110ac 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/NetworkRollback.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/NetworkRollback.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 @@ -362,7 +364,7 @@ public class NetworkRollback { */ public List getVlans() { if (vlans == null) { - vlans = new ArrayList(); + vlans = new ArrayList<>(); } return this.vlans; } -- cgit 1.2.3-korg