Merge "sonar fix - remove literal boolean true value"
authorJonathan Gathman <jonathan.gathman@att.com>
Tue, 6 Aug 2019 23:45:28 +0000 (23:45 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 6 Aug 2019 23:45:28 +0000 (23:45 +0000)
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java

index 2fbfa37..9e01d7c 100644 (file)
@@ -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();