diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-08-06 23:45:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-06 23:45:28 +0000 |
commit | f727f876191f815a850b89eb501f49bfd6e65c5d (patch) | |
tree | 1f25ede89fdfbef3546cf5042eec375c3bee8c88 /auth/auth-cmd/src/main | |
parent | c42c3f014a3a84bbb9f12f690fdf2a840f9138a4 (diff) | |
parent | f380e9e596516b932cb04311c3393cd782337d68 (diff) |
Merge "sonar fix - remove literal boolean true value"
Diffstat (limited to 'auth/auth-cmd/src/main')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java | 2 |
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(); |