summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch/src/main/java/org
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-09-08 23:08:27 +0530
committerThugutla sailakshmi <tsaila10@in.ibm.com>2019-09-08 23:08:31 +0530
commit2af87c916eab47e3e6bb9805dadb9f5434923927 (patch)
tree66a4a21d08afc59a3cd80355a82df853a72e98da /auth/auth-batch/src/main/java/org
parentd4024d8100a363db4b849f4d9f3dbe68f013ff70 (diff)
Annotate the "Data" interface with the @FunctionalInterface annotation
Annotate the "Data" interface with the @FunctionalInterface annotation Issue-ID: AAF-876 Change-Id: I80c6462697f7706abef7b5865e665926f3d4d773 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'auth/auth-batch/src/main/java/org')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CacheChange.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CacheChange.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CacheChange.java
index a4cfcbec..84d7b5a2 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CacheChange.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CacheChange.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.
@@ -31,6 +32,7 @@ public class CacheChange<T extends CacheChange.Data> {
removed = new ArrayList<>();
}
+ @FunctionalInterface
interface Data {
public abstract void expunge();
}