diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2022-04-01 04:08:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-04-01 04:08:50 +0000 |
commit | 37e08a4d965751c570b125eda565abd3d6dfafbc (patch) | |
tree | 0096c9761a714055dead97e912a8aa439f29c37f /profiles/http | |
parent | 7f57068e70c7c8a2b3cb64517597f4ac038f58be (diff) | |
parent | c185b5e5f1ff71309143ddcc1021fa792393efae (diff) |
Merge "Removed unnecessary cast to "String"."
Diffstat (limited to 'profiles/http')
-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); } |