You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/06/27 14:41:46 UTC

[commons-text] 04/09: Annotate StringLookup as a FunctionalInterface.

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-text.git

commit 13d673ac6ab766e10b239af04f89c82b92062e65
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 27 10:05:59 2020 -0400

    Annotate StringLookup as a FunctionalInterface.
---
 src/main/java/org/apache/commons/text/lookup/StringLookup.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/commons/text/lookup/StringLookup.java b/src/main/java/org/apache/commons/text/lookup/StringLookup.java
index 3201c5e..d89fdf2 100644
--- a/src/main/java/org/apache/commons/text/lookup/StringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/StringLookup.java
@@ -30,6 +30,7 @@ package org.apache.commons.text.lookup;
  *
  * @since 1.3
  */
+@FunctionalInterface
 public interface StringLookup {
 
     /**