summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-09-03 18:47:52 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-09-03 18:48:10 +0530
commit28aed9df507b6b65b3cbce608a8298500e0e40e0 (patch)
tree9f7d81171aa6d1bbf09c82fb9ebd658f63f907ac /adapters/mso-openstack-adapters/src
parentb1c2cbe73420cbb62f643488422f174fe3311b1c (diff)
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 <sandeejh@in.ibm.com>
Diffstat (limited to 'adapters/mso-openstack-adapters/src')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/async/client/NetworkRollback.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/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<Integer> getVlans() {
if (vlans == null) {
- vlans = new ArrayList<Integer>();
+ vlans = new ArrayList<>();
}
return this.vlans;
}