diff options
author | Thugutla Sailakshmi <tsaila10@in.ibm.com> | 2019-07-16 16:17:26 +0530 |
---|---|---|
committer | Thugutla Sailakshmi <tsaila10@in.ibm.com> | 2019-07-16 16:24:54 +0530 |
commit | ef9183d952baee487a1a3dc8ffc0b3019d8a735d (patch) | |
tree | ce2089ca60e5ca9c73cf96aebd4f9f3a09971a8a /auth/auth-cmd/src/main | |
parent | 0c883163f5d2da8573e56fab3ddb62a1ca5b889e (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.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 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; |