summaryrefslogtreecommitdiffstats
path: root/auth/auth-cmd
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-08-06 23:45:28 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-06 23:45:28 +0000
commitf727f876191f815a850b89eb501f49bfd6e65c5d (patch)
tree1f25ede89fdfbef3546cf5042eec375c3bee8c88 /auth/auth-cmd
parentc42c3f014a3a84bbb9f12f690fdf2a840f9138a4 (diff)
parentf380e9e596516b932cb04311c3393cd782337d68 (diff)
Merge "sonar fix - remove literal boolean true value"
Diffstat (limited to 'auth/auth-cmd')
-rw-r--r--auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java2
1 files changed, 1 insertions, 1 deletions
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 2fbfa373..9e01d7c7 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();