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 a43c1378a6a58b6d8ed9a8b1e0de9db9e890a3ee
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jul 20 10:00:44 2025 -0400

    Javadoc
---
 .../text/similarity/LongestCommonSubsequenceDistance.java | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/text/similarity/LongestCommonSubsequenceDistance.java
 
b/src/main/java/org/apache/commons/text/similarity/LongestCommonSubsequenceDistance.java
index f6ce1e53..ed33437a 100644
--- 
a/src/main/java/org/apache/commons/text/similarity/LongestCommonSubsequenceDistance.java
+++ 
b/src/main/java/org/apache/commons/text/similarity/LongestCommonSubsequenceDistance.java
@@ -44,15 +44,14 @@ public class LongestCommonSubsequenceDistance implements 
EditDistance<Integer> {
     }
 
     /**
-     * Calculates an edit distance between two {@code CharSequence}'s {@code 
left} and
-     * {@code right} as: {@code left.length() + right.length() - 2 * LCS(left, 
right)}, where
-     * {@code LCS} is given in {@link 
LongestCommonSubsequence#apply(CharSequence, CharSequence)}.
+     * Calculates an edit distance between two {@code CharSequence}'s {@code 
left} and {@code right} as:
+     * {@code left.length() + right.length() - 2 * LCS(left, right)}, where 
{@code LCS} is given in
+     * {@link LongestCommonSubsequence#apply(CharSequence, CharSequence)}.
      *
-     * @param left first character sequence
-     * @param right second character sequence
-     * @return distance
-     * @throws IllegalArgumentException
-     *             if either String input {@code null}
+     * @param left  first character sequence.
+     * @param right second character sequence.
+     * @return distance.
+     * @throws IllegalArgumentException if either String input {@code null}.
      */
     @Override
     public Integer apply(final CharSequence left, final CharSequence right) {

Reply via email to