From f380e9e596516b932cb04311c3393cd782337d68 Mon Sep 17 00:00:00 2001 From: Dasari Anusha Date: Thu, 18 Jul 2019 23:38:42 +0530 Subject: sonar fix - remove literal boolean true value Issue-ID: AAF-877 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Dasari Anusha --- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth/auth-cmd/src') diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java index 01d001fd..c940c401 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java @@ -341,7 +341,7 @@ public class AAFcli { } finally { clearSingleLineProperties(); } - rv = expect.isEmpty() ? true : expect.contains(ret); + rv = expect.isEmpty() || expect.contains(ret); if (verbose) { if (rv) { pw.println(); -- cgit 1.2.3-korg