Annotate the "Visitor" interface with the @FunctionalInterface annotation 43/94843/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 3 Sep 2019 14:24:47 +0000 (19:54 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 3 Sep 2019 14:25:05 +0000 (19:55 +0530)
Annotate the "Visitor" interface with the @FunctionalInterface annotation

Issue-ID: AAF-876
Change-Id: If2854f563a41e5e9b85cec2636835e8a966fd1a4
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Visitor.java

index 38a7647..3e7b30b 100644 (file)
@@ -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.
@@ -20,6 +21,7 @@
 
 package org.onap.aaf.auth.batch.helpers;
 
+@FunctionalInterface
 public interface Visitor<T> {
     void visit(T t);