This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 7de2aadb3f53cd1c65739f998762f37eb99aa998 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Feb 28 16:15:05 2025 -0500 Add the @FunctionalInterface annotation to org.apache.commons.lang3.concurrent.Computable --- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/lang3/concurrent/Computable.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 266dec8e3..b54c9b36b 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -103,6 +103,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="add" dev="ggregory" due-to="Gary Gregory">Add Validate.isTrue(boolean, Supplier<String>).</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add EnumUtils.getFirstEnum(Class<E>, int, ToIntFunction<E>, E).</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add FailableToBooleanFunction.</action> + <action type="add" dev="ggregory" due-to="Gary Gregory">Add the @FunctionalInterface annotation to org.apache.commons.lang3.concurrent.Computable.</action> <!-- UPDATE --> <action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 73 to 81 #1267, #1277, #1283, #1288, #1302.</action> <action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[site] Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 #1300.</action> diff --git a/src/main/java/org/apache/commons/lang3/concurrent/Computable.java b/src/main/java/org/apache/commons/lang3/concurrent/Computable.java index 120194256..7cbde8506 100644 --- a/src/main/java/org/apache/commons/lang3/concurrent/Computable.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/Computable.java @@ -30,6 +30,7 @@ * @see FailableFunction * @since 3.6 */ +@FunctionalInterface public interface Computable<I, O> { /**