summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2019-07-30 11:55:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-30 11:55:49 +0000
commited0324962b3c0da2ff4a9719dfcb2f0891d4ce23 (patch)
treea5d0240fc739c37f5e02851a7086ac22d8cec209 /adapters/mso-openstack-adapters
parent57112781f7d026580f82f82ec61825168bb42a7d (diff)
parent9a53951bc132aad23dee5807b2a1644a66d9ca09 (diff)
Merge "Replaced constructor call with valueOf() call to remove static analyzer warning about inefficient use of constructor"
Diffstat (limited to 'adapters/mso-openstack-adapters')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java
index 2d77bf625a..70fb0b3857 100644
--- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java
+++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java
@@ -339,7 +339,7 @@ public class MsoVnfPluginAdapterImpl implements MsoVnfAdapter {
return null;
}
} else if ("boolean".equalsIgnoreCase(type)) {
- return new Boolean(inputValue.toString());
+ return Boolean.valueOf(inputValue.toString());
}
// Nothing else matched. Return the original string