summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authordinesha <dineshgs@in.ibm.com>2019-07-25 17:01:06 +0530
committerdinesha <dineshgs@in.ibm.com>2019-07-25 17:02:33 +0530
commitf587a319ab56935c881314f946f358b7f1418acf (patch)
tree5978f938ff5ba4ad65e32d54d9c08ace07407487 /auth
parentb3a6814af9ab63fa59d0233f5d2ebb032f0b1597 (diff)
Sonar Fix - AuthzCassServiceImpl.java
Fixed Sonar issues accross the file Issue-ID: AAF-907 Change-Id: I96d946b0f9efad26ee13df92028963ac43bc0b58 Signed-off-by: dinesha <dineshgs@in.ibm.com>
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java
index 295db4ac..1b87401d 100644
--- a/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java
+++ b/auth/auth-service/src/main/java/org/onap/aaf/auth/service/AuthzCassServiceImpl.java
@@ -2948,7 +2948,7 @@ public class AuthzCassServiceImpl <NSS,PERMS,PERMKEY,ROLES,USERS,USERROLES,DE
return Result.err(Status.ERR_BadData, "User chose invalid credential selection");
}
}
- isLastCred = (entry==-1)?true:false;
+ isLastCred = (entry==-1);
} else {
isLastCred = true;
}