summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanisha07 <cmanis10@in.ibm.com>2019-11-04 16:23:08 +0530
committerJonathan Gathman <jonathan.gathman@att.com>2019-11-06 12:58:27 +0000
commitc1a12263c510ab8b36f1bc118e8e0bf2fafcbac8 (patch)
tree3337825a9c276a6838aaa51fb204beb68b21e52a
parentbc5f9dec37da59182034c1166a6a9d4150f40847 (diff)
SonarFix-CachedRoleDAO.java
Issue-ID: AAF-1031 Change-Id: I8ceb04722950d994ff55c0b3892475137faee37a Signed-off-by: manisha07 <cmanis10@in.ibm.com>
-rw-r--r--auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedRoleDAO.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedRoleDAO.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedRoleDAO.java
index b90c3579..0c1fa4cc 100644
--- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedRoleDAO.java
+++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedRoleDAO.java
@@ -39,6 +39,7 @@ public class CachedRoleDAO extends CachedDAO<AuthzTrans,RoleDAO, RoleDAO.Data> {
public Result<List<Data>> readNS(AuthzTrans trans, final String ns) {
DAOGetter getter = new DAOGetter(trans,dao()) {
+ @Override
public Result<List<Data>> call() {
return dao.readNS(trans, ns);
}
@@ -53,6 +54,7 @@ public class CachedRoleDAO extends CachedDAO<AuthzTrans,RoleDAO, RoleDAO.Data> {
public Result<List<Data>> readName(AuthzTrans trans, final String name) {
DAOGetter getter = new DAOGetter(trans,dao()) {
+ @Override
public Result<List<Data>> call() {
return dao().readName(trans, name);
}