diff options
author | sharath reddy <bs.reddy@huawei.com> | 2022-03-30 19:18:53 +0530 |
---|---|---|
committer | sharath reddy <bs.reddy@huawei.com> | 2022-03-30 19:19:51 +0530 |
commit | 7382433462e7bd8bd4d5d245ee36a5d69ac64ed7 (patch) | |
tree | 9d17d84fbebdef5cc31369674cda57f84d10593a | |
parent | 4e4f047cf6533f0f01f54d5170a059c5bff5d054 (diff) |
Removed the unnecessary cast to "Map"
Issue-ID: CLI-439
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ib1493b31b9b2df0bed73e6dc0a9ec5f22a0c05c3
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaLoader.java b/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaLoader.java index e051d5dd..71a189e5 100644 --- a/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaLoader.java +++ b/framework/src/main/java/org/onap/cli/fw/schema/OnapCommandSchemaLoader.java @@ -183,7 +183,7 @@ public class OnapCommandSchemaLoader { List<String> longOptions = new ArrayList<>(); if (validate) { - OnapCommandUtils.validateTags(exceptionList, (Map<String, Object>) values, OnapCommandConfig.getCommaSeparatedList(TOP_LEVEL_PARAMS_LIST), + OnapCommandUtils.validateTags(exceptionList, values, OnapCommandConfig.getCommaSeparatedList(TOP_LEVEL_PARAMS_LIST), OnapCommandConfig.getCommaSeparatedList(TOP_LEVEL_MANDATORY_LIST), "root level"); } |