summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
19a7514)
Ignored unused parameter
Issue-ID: CLI-439
report: tested weather-report, execution-list
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: Ia29b208100ef8c71d1ff4458293dea23349fc9d0
if (!schema.getVersion().equalsIgnoreCase(OnapCommandConstants.OPEN_CLI_SCHEMA_VERSION_VALUE_1_0)) {
String schemaURI = schema.getSchemaURI();
if (!schema.getVersion().equalsIgnoreCase(OnapCommandConstants.OPEN_CLI_SCHEMA_VERSION_VALUE_1_0)) {
String schemaURI = schema.getSchemaURI();
- OnapCommandUtils.log.info("Unsupported Schema version found {} " + schemaURI);
+ OnapCommandUtils.log.info("Unsupported Schema version found {} ", schemaURI);
* @throws OnapCommandInvalidSchema
* exception
*/
* @throws OnapCommandInvalidSchema
* exception
*/
- public static Map<String, ?> loadYaml(Resource resource, boolean ignoreInvalidSchema) throws OnapCommandInvalidSchema, IOException {
+ public static Map<String, ?> loadYaml(Resource resource, boolean ignoreInvalidSchema) throws OnapCommandInvalidSchema, IOException {//NOSONAR
Map<String, ?> values = null;
try {
values = loadYaml(resource.getInputStream());
Map<String, ?> values = null;
try {
values = loadYaml(resource.getInputStream());