From: Driptaroop Das Date: Thu, 10 Jan 2019 09:32:13 +0000 (+0530) Subject: Sonar Fix - Key.java X-Git-Tag: 2.1.9~49^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F75612%2F1;p=aaf%2Fauthz.git 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 --- 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); }