aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-04-04 19:37:50 +0530
committersharath reddy <bs.reddy@huawei.com>2022-04-04 19:38:13 +0530
commit25fd29e0a2a48c352b7abff8d4ffc359288bdeac (patch)
treec7eae467b0e4e727fbc238de4d40bad57e1da610
parent19a75142348a233c027d7a2e7e87721ed3500cc3 (diff)
Removed built-in format specifier
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
-rw-r--r--framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java
index b2bbfd47..c970e3ab 100644
--- a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java
+++ b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java
@@ -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());