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 4f52fae9 Javadoc
4f52fae9 is described below

commit 4f52fae9c8396132e4bd59bb33fa286b315d6e37
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jul 15 08:49:04 2024 -0400

    Javadoc
    
    Whitespace
---
 .../java/org/apache/commons/text/similarity/EditDistanceFrom.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/text/similarity/EditDistanceFrom.java 
b/src/main/java/org/apache/commons/text/similarity/EditDistanceFrom.java
index f81e2f07..6c302e70 100644
--- a/src/main/java/org/apache/commons/text/similarity/EditDistanceFrom.java
+++ b/src/main/java/org/apache/commons/text/similarity/EditDistanceFrom.java
@@ -19,7 +19,7 @@ package org.apache.commons.text.similarity;
 import org.apache.commons.lang3.Validate;
 
 /**
- * This stores a {@link EditDistance} implementation and a {@link 
CharSequence} "left" string.
+ * Stores a {@link EditDistance} implementation and a {@link CharSequence} 
"left" string.
  * The {@link #apply(CharSequence right)} method accepts the "right" string 
and invokes the
  * comparison function for the pair of strings.
  *
@@ -56,13 +56,14 @@ public class EditDistanceFrom<R> {
      * Edit distance.
      */
     private final EditDistance<R> editDistance;
+
     /**
      * Left parameter used in distance function.
      */
     private final CharSequence left;
 
     /**
-     * This accepts the edit distance implementation and the "left" string.
+     * Constructs the edit distance implementation and the "left" string.
      *
      * @param editDistance This may not be null.
      * @param left This may be null here,
@@ -71,13 +72,12 @@ public class EditDistanceFrom<R> {
      */
     public EditDistanceFrom(final EditDistance<R> editDistance, final 
CharSequence left) {
         Validate.isTrue(editDistance != null, "The edit distance may not be 
null.");
-
         this.editDistance = editDistance;
         this.left = left;
     }
 
     /**
-     * This compares "left" field against the "right" parameter
+     * Compares "left" field against the "right" parameter
      * using the "edit distance" implementation.
      *
      * @param right the second CharSequence

Reply via email to