From e22ad3c1435467e0089f421b915849291f8a3a03 Mon Sep 17 00:00:00 2001 From: Ganesh Date: Tue, 17 May 2022 19:32:22 +0530 Subject: sonar-smell add logic to this catch clause Signed-off-by: Ganesh Change-Id: I00e014fda8015c9f5d308d3443cd601cf59863f2 Issue-ID: CLI-444 --- .../http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java b/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java index b4654cc8..d18090b1 100644 --- a/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java +++ b/profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java @@ -218,7 +218,7 @@ public class OnapHttpCommand extends OnapCommand { if (isAuthRequired) { this.authClient.logout(); } - } catch (OnapCommandException e) { + } catch (OnapCommandException e) { //NOSONAR throw e; } finally { this.getResult().setDebugInfo(this.input.toString() + "\n" + this.output.toString()); @@ -262,7 +262,7 @@ public class OnapHttpCommand extends OnapCommand { try{ generateJsonMock(this.getInput(), output, this.getSchemaName()); } catch (OnapCommandFailedMocoGenerate e) { - //NO SONAR ignore it + //NOSONAR ignore it } } -- cgit 1.2.3-korg