aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http/src/main
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-03-31 22:29:48 +0530
committersharath reddy <bs.reddy@huawei.com>2022-03-31 22:31:05 +0530
commitc185b5e5f1ff71309143ddcc1021fa792393efae (patch)
treec26ea6bd3ff199d0b4acf132646d24a5cd8eb908 /profiles/http/src/main
parentb2aeb4fae1c300d0073b8291e7a5f11bc53d3043 (diff)
Removed unnecessary cast to "String".
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I53fcf523ead9f8366cfcd06b1eee30ad9371f862 Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Diffstat (limited to 'profiles/http/src/main')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java
index a539ae16..1ed2d600 100644
--- a/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java
+++ b/profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java
@@ -140,7 +140,7 @@ public class OnapCommandSchemaHttpLoader {
Map<String, String> partMap = (Map<String, String>) part;
partO.setName(partMap.get("name"));
partO.setContent(partMap.get("content"));
- if (partMap.get("type") != null && ((String)partMap.get("type")).equalsIgnoreCase("file")) {
+ if (partMap.get("type") != null && (partMap.get("type")).equalsIgnoreCase("file")) {
partO.setBinary(true);
}