From 57eeb2e057408b8c110e12d54163bb3a1532457e Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Wed, 18 Sep 2019 19:21:23 +0530 Subject: CachedCredDAO .java -add the @Override annotation above method signature CachedCredDAO .java -add the @Override annotation above method signature Issue-ID: AAF-876 Change-Id: Ie0a6becc555da4eba72bd1572ecf5287e80a2fc2 Signed-off-by: Thugutla sailakshmi --- .../src/main/java/org/onap/aaf/auth/dao/cached/CachedCredDAO.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'auth/auth-cass') diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedCredDAO.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedCredDAO.java index 6bdc22bc..a8a3796a 100644 --- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedCredDAO.java +++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/cached/CachedCredDAO.java @@ -3,6 +3,7 @@ * org.onap.aaf * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 IBM. * =========================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,6 +52,7 @@ public class CachedCredDAO extends CachedDAO @Override public Result> read(AuthzTrans trans, final String id) { DAOGetter getter = new DAOGetter(trans,dao()) { + @Override public Result> call() { return dao().readID(trans, id); } @@ -68,6 +70,7 @@ public class CachedCredDAO extends CachedDAO @Override public Result> read(AuthzTrans trans, final String id) { DAOGetter getter = new DAOGetter(trans,dao()) { + @Override public Result> call() { return dao().readIDBAth(trans, id); } @@ -105,6 +108,7 @@ public class CachedCredDAO extends CachedDAO return readIDBath.read(trans,id); } + @FunctionalInterface private interface ReadID { public Result> read(final AuthzTrans trans, final String id); } -- cgit 1.2.3-korg