summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-10 15:02:13 +0530
committerDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-10 15:02:28 +0530
commit5156a86fbe603d7796412d20ededab269e772122 (patch)
treeee0b522f45affae0f618a725f0ddf490833c8e82 /auth
parent561d678e8e7816d93efc44d1027dac29691ebb0b (diff)
Sonar Fix - Key.java
Sonar Fix - Key.java - Annotate the "Key" interface with the @FunctionalInterface annotation Issue-ID: AAF-710 Change-Id: I7a436e8823e0be0548294be1b59ac3cf7461c9ec Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java
index fb43a425..1ee655f4 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java
@@ -3,6 +3,8 @@
* 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.
@@ -21,6 +23,7 @@
package org.onap.aaf.auth.batch.actions;
+@FunctionalInterface
public interface Key<HELPER> {
public String key(HELPER H);
}