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 2024/05/25 21:43:21 UTC
(commons-text) branch master updated: Remove obsolete comment
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
The following commit(s) were added to refs/heads/master by this push:
new 9383c8b3 Remove obsolete comment
9383c8b3 is described below
commit 9383c8b3e43e6c32f5964f410140cecc5f002f86
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat May 25 17:43:17 2024 -0400
Remove obsolete comment
---
.../java/org/apache/commons/text/similarity/SimilarityScore.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/text/similarity/SimilarityScore.java b/src/main/java/org/apache/commons/text/similarity/SimilarityScore.java
index 8b9890ad..91a5c406 100644
--- a/src/main/java/org/apache/commons/text/similarity/SimilarityScore.java
+++ b/src/main/java/org/apache/commons/text/similarity/SimilarityScore.java
@@ -39,11 +39,8 @@ package org.apache.commons.text.similarity;
*
* <p>
* Further, this intended to be BiFunction<CharSequence, CharSequence, R>.
- * The {@code apply} method
- * accepts a pair of {@link CharSequence} parameters
- * and returns an {@code R} type similarity score. We have omitted the explicit
- * statement of extending BiFunction due to it only being implemented in Java 1.8, and we
- * wish to maintain Java 1.7 compatibility.
+ * The {@code apply} method accepts a pair of {@link CharSequence} parameters
+ * and returns an {@code R} type similarity score.
* </p>
*
* @param <R> The type of similarity score unit used by this EditDistance.