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

    Javadoc
---
 .../org/apache/commons/text/similarity/FuzzyScore.java | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java 
b/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java
index 8355fdba..78c96aff 100644
--- a/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java
+++ b/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java
@@ -43,10 +43,8 @@ public class FuzzyScore {
     /**
      * This returns a {@link Locale}-specific {@link FuzzyScore}.
      *
-     * @param locale The string matching logic is case insensitive.
-                     A {@link Locale} is necessary to normalize both Strings 
to lower case.
-     * @throws IllegalArgumentException
-     *         This is thrown if the {@link Locale} parameter is {@code null}.
+     * @param locale The string matching logic is case insensitive. A {@link 
Locale} is necessary to normalize both Strings to lower case.
+     * @throws IllegalArgumentException This is thrown if the {@link Locale} 
parameter is {@code null}.
      */
     public FuzzyScore(final Locale locale) {
         if (locale == null) {
@@ -56,8 +54,7 @@ public class FuzzyScore {
     }
 
     /**
-     * Find the Fuzzy Score which indicates the similarity score between two
-     * Strings.
+     * Find the Fuzzy Score which indicates the similarity score between two 
Strings.
      *
      * <pre>
      * score.fuzzyScore(null, null)                          = 
IllegalArgumentException
@@ -72,11 +69,10 @@ public class FuzzyScore {
      * score.fuzzyScore("Apache Software Foundation", "asf") = 3
      * </pre>
      *
-     * @param term a full term that should be matched against, must not be null
-     * @param query the query that will be matched against a term, must not be
-     *            null
-     * @return result score
-     * @throws IllegalArgumentException if the term or query is {@code null}
+     * @param term  a full term that should be matched against, must not be 
null.
+     * @param query the query that will be matched against a term, must not be 
null.
+     * @return result score.
+     * @throws IllegalArgumentException if the term or query is {@code null}.
      */
     public Integer fuzzyScore(final CharSequence term, final CharSequence 
query) {
         if (term == null || query == null) {

Reply via email to