Sonar Fix - Key.java 12/75612/1
authorDriptaroop Das <driptaroop.das@in.ibm.com>
Thu, 10 Jan 2019 09:32:13 +0000 (15:02 +0530)
committerDriptaroop Das <driptaroop.das@in.ibm.com>
Thu, 10 Jan 2019 09:32:28 +0000 (15:02 +0530)
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>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java

index fb43a42..1ee655f 100644 (file)
@@ -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);
 }