Removed built-in format specifier 80/128280/1
authorsharath reddy <bs.reddy@huawei.com>
Mon, 4 Apr 2022 14:07:50 +0000 (19:37 +0530)
committersharath reddy <bs.reddy@huawei.com>
Mon, 4 Apr 2022 14:08:13 +0000 (19:38 +0530)
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

framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java

index b2bbfd4..c970e3a 100644 (file)
@@ -338,7 +338,7 @@ public class OnapCommandDiscoveryUtils {
 
                             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);
                             }
                             else{
 
@@ -556,7 +556,7 @@ public class OnapCommandDiscoveryUtils {
      * @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());