From ef9183d952baee487a1a3dc8ffc0b3019d8a735d Mon Sep 17 00:00:00 2001 From: Thugutla Sailakshmi Date: Tue, 16 Jul 2019 16:17:26 +0530 Subject: sonar fix AAFcli.java Fixed sonar issue in this file Issue-ID: AAF-871 Change-Id: Ic59c5be130479a5e20e117f37b63fe98b020792d Signed-off-by: Thugutla Sailakshmi --- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth/auth-cmd/src/main') 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; -- cgit 1.2.3-korg