From 5156a86fbe603d7796412d20ededab269e772122 Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Thu, 10 Jan 2019 15:02:13 +0530 Subject: [PATCH] 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 --- auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/actions/Key.java | 3 +++ 1 file changed, 3 insertions(+) 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 { public String key(HELPER H); } -- 2.16.6