diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2019-07-30 11:55:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-30 11:55:49 +0000 |
commit | ed0324962b3c0da2ff4a9719dfcb2f0891d4ce23 (patch) | |
tree | a5d0240fc739c37f5e02851a7086ac22d8cec209 | |
parent | 57112781f7d026580f82f82ec61825168bb42a7d (diff) | |
parent | 9a53951bc132aad23dee5807b2a1644a66d9ca09 (diff) |
Merge "Replaced constructor call with valueOf() call to remove static analyzer warning about inefficient use of constructor"
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfPluginAdapterImpl.java | 2 |
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 |