From: Kanagaraj Manickam k00365106 Date: Wed, 2 May 2018 10:47:28 +0000 (+0530) Subject: Make return value as abstract collection instead X-Git-Tag: v2.0.2~20^2~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F45877%2F1;p=cli.git Make return value as abstract collection instead Issue-ID: CLI-106 Change-Id: Id1bc614e410f4efeb0b3d033104c978523d76bc5 Signed-off-by: Kanagaraj Manickam k00365106 --- 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 validateHttpSchemaSection(Map values) { + public static List validateHttpSchemaSection(Map values) { ArrayList errorList = new ArrayList<>(); Map map = (Map) values.get(OnapCommandHttpConstants.HTTP); Map requestMap = (Map) map.get(OnapCommandHttpConstants.REQUEST);