summaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2019-07-31 12:57:32 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-31 12:57:32 +0000
commita3247b8e9ee8fe0215a740bc8729d6afeb116740 (patch)
tree0eae15d669c4cd3df0cc6e862a37eaa6d0d5d4f5 /adapters
parent06aa1436e559a60979c3b7c3ec5f569b9517df45 (diff)
parent8e45144b00c3b77a103a38dd5759c68c12a0ad0f (diff)
Merge "Replaced constructor call with Boolean.valueOf() call to prevent static analyzer warning about inefficient use of constructor"
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java b/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java
index dd43837c76..e821d806dd 100644
--- a/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java
+++ b/adapters/mso-adapter-utils/src/main/java/org/onap/so/cloudify/utils/MsoCloudifyUtils.java
@@ -981,7 +981,7 @@ public class MsoCloudifyUtils extends MsoCommonUtils implements VduPlugin {
return null;
}
} else if (("boolean").equalsIgnoreCase(type)) {
- return new Boolean(inputValue.toString());
+ return Boolean.valueOf(inputValue.toString());
}
// Nothing else matched. Return the original string