diff options
author | Ganesh <ganesh.c@samsung.com> | 2022-05-17 19:32:22 +0530 |
---|---|---|
committer | Ganesh <ganesh.c@samsung.com> | 2022-05-17 20:01:05 +0530 |
commit | e22ad3c1435467e0089f421b915849291f8a3a03 (patch) | |
tree | 27ed7e3c60f7bfd834ab3d1972a2508679c80e56 | |
parent | 56943fcc3c3c22005590756ffb262c8e830e8951 (diff) |
sonar-smell add logic to this catch clause
Signed-off-by: Ganesh <ganesh.c@samsung.com>
Change-Id: I00e014fda8015c9f5d308d3443cd601cf59863f2
Issue-ID: CLI-444
-rw-r--r-- | profiles/http/src/main/java/org/onap/cli/fw/http/cmd/OnapHttpCommand.java | 4 |
1 files 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 } } |