From c185b5e5f1ff71309143ddcc1021fa792393efae Mon Sep 17 00:00:00 2001 From: sharath reddy Date: Thu, 31 Mar 2022 22:29:48 +0530 Subject: [PATCH 1/1] Removed unnecessary cast to "String". Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy Change-Id: I53fcf523ead9f8366cfcd06b1eee30ad9371f862 Signed-off-by: sharath reddy --- .../java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 partMap = (Map) 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); } -- 2.16.6