diff options
-rw-r--r-- | profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java | 2 |
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); } |