From 09c6f03be3274446f71cd3f7a07da0f3a79ce9ff Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 9 May 2018 11:32:42 +0000 Subject: Fix OnapCommandSample with coding std. Issue-ID: CLI-100 Change-Id: Id0e4d267352feba3e884948251ce5c80902edeb5 Signed-off-by: Kanagaraj Manickam k00365106 --- framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/src/test/java/org') diff --git a/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java b/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java index b225a3a0..eef0ebc4 100644 --- a/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java +++ b/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java @@ -40,8 +40,9 @@ public class OnapCommandSample extends OnapCommand { @Override protected void run() throws OnapCommandException { - if (this.failCase) + if (this.failCase) { throw new OnapCommandExecutionFailed("Test case to fail"); + } } } -- cgit 1.2.3-korg