diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-02 16:17:28 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-05-03 17:36:55 +0530 |
commit | a89f1d46fb777835ef513e26f2fc9f6bee51c66e (patch) | |
tree | a0c885ae14b93f33c9d960cd4aafa104acfe8c76 /profiles/http | |
parent | 2f310236cb638a523686490d22e0d29c9a50b84b (diff) |
Make return value as abstract collection instead
Issue-ID: CLI-106
Change-Id: Id1bc614e410f4efeb0b3d033104c978523d76bc5
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
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 5bb41207..5429b1af 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 @@ -279,7 +279,7 @@ public class OnapCommandSchemaHttpLoader { return errorList; } - public static ArrayList<String> validateHttpSchemaSection(Map<String, ?> values) { + public static List<String> validateHttpSchemaSection(Map<String, ?> values) { ArrayList<String> errorList = new ArrayList<>(); Map<String, ?> map = (Map<String, ?>) values.get(OnapCommandHttpConstants.HTTP); Map<String, Object> requestMap = (Map<String, Object>) map.get(OnapCommandHttpConstants.REQUEST); |