From a362055692f87a4c125fb5ad265921c17068a6e8 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 13 Aug 2018 14:43:25 +0530 Subject: Long is not working Issue-ID: CLI-123 CLI-123 Change-Id: I5a0062527b15f1dca9fc0019c06aa8f71390c6a2 Signed-off-by: Kanagaraj Manickam k00365106 --- framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/src') diff --git a/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java b/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java index d3264508..f9066efa 100644 --- a/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java +++ b/framework/src/main/java/org/onap/cli/fw/cmd/OnapCommand.java @@ -222,7 +222,7 @@ public abstract class OnapCommand { // -f or --format this.cmdResult.setType( OnapCommandResultType.get(paramMap.get(OnapCommandConstants.DEFAULT_PARAMETER_OUTPUT_FORMAT).getValue().toString())); - if (OnapCommandConstants.BOOLEAN_TRUE.equals(paramMap.get(OnapCommandConstants.DEFAULT_PARAMETER_OUTPUT_ATTR_LONG).getValue())) { + if ((Boolean)(paramMap.get(OnapCommandConstants.DEFAULT_PARAMETER_OUTPUT_ATTR_LONG).getValue())) { this.cmdResult.setScope(OnapCommandResultAttributeScope.LONG); } // --no-title -- cgit 1.2.3-korg