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

index 01d001f..2fbfa37 100644 (file)
@@ -542,7 +542,7 @@ public class AAFcli {
                 
                                     String line;
                                     while ((line = reader.readLine()) != null) {
-                                        showDetails = (line.contains("-d"))?true:false;
+                                        showDetails = (line.contains("-d"));
                 
                                         if (line.equalsIgnoreCase("quit") || line.equalsIgnoreCase("q") || line.equalsIgnoreCase("exit")) {
                                             break;