commit | f380e9e596516b932cb04311c3393cd782337d68 | [log] [tgz] |
---|---|---|
author | Dasari Anusha <danush10@in.ibm.com> | Thu Jul 18 23:38:42 2019 +0530 |
committer | anusha dasari <danush10@in.ibm.com> | Thu Jul 25 07:03:33 2019 +0000 |
tree | 9dada47a53c2a02fce267319cbcaa808d706bf1c | |
parent | 5b77b6489dfb644a901e2640615a32d78f533351 [diff] |
sonar fix - remove literal boolean true value Issue-ID: AAF-877 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Dasari Anusha <danush10@in.ibm.com>
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 01d001f..c940c40 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 @@ } finally { clearSingleLineProperties(); } - rv = expect.isEmpty() ? true : expect.contains(ret); + rv = expect.isEmpty() || expect.contains(ret); if (verbose) { if (rv) { pw.println();