Annotate the "Loader" interface with the @FunctionalInterface annotation
[aaf/authz.git] / auth / auth-batch / src / main / java / org / onap / aaf / auth / batch / approvalsets / Loader.java
index 8bade4a..d91c42c 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.
@@ -22,6 +23,7 @@ package org.onap.aaf.auth.batch.approvalsets;
 
 import org.onap.aaf.cadi.CadiException;
 
+@FunctionalInterface
 public interface Loader<T> {
     public T load() throws CadiException;
 }