diff options
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/http/src/main/java/org/onap/cli/fw/http/schema/OnapCommandSchemaHttpLoader.java | 2 | ||||
-rw-r--r-- | profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java b/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java index b2af9ae6..c132be26 100644 --- a/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java +++ b/profiles/snmp/src/main/java/org/onap/cli/fw/snmp/schema/OnapCommandSchemaSnmpLoader.java @@ -38,7 +38,7 @@ public class OnapCommandSchemaSnmpLoader { return errorList; } - public static ArrayList<String> parseSnmpSchema(OnapSnmpCommand cmd, + public static List<String> parseSnmpSchema(OnapSnmpCommand cmd, final Map<String, ?> values, boolean validate) throws OnapCommandException { |