summaryrefslogtreecommitdiffstats
path: root/auth/auth-cmd/src/main
diff options
context:
space:
mode:
authorThugutla Sailakshmi <tsaila10@in.ibm.com>2019-07-16 16:17:26 +0530
committerThugutla Sailakshmi <tsaila10@in.ibm.com>2019-07-16 16:24:54 +0530
commitef9183d952baee487a1a3dc8ffc0b3019d8a735d (patch)
treece2089ca60e5ca9c73cf96aebd4f9f3a09971a8a /auth/auth-cmd/src/main
parent0c883163f5d2da8573e56fab3ddb62a1ca5b889e (diff)
sonar fix AAFcli.java
Fixed sonar issue in this file Issue-ID: AAF-871 Change-Id: Ic59c5be130479a5e20e117f37b63fe98b020792d Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'auth/auth-cmd/src/main')
-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 8fcea294..dace8e5f 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
@@ -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;