@@ -43,10 +43,8 @@ public class FuzzyScore {
43
43
/**
44
44
* This returns a {@link Locale}-specific {@link FuzzyScore}.
45
45
*
46
- * @param locale The string matching logic is case insensitive.
47
- A {@link Locale} is necessary to normalize both Strings to lower case.
48
- * @throws IllegalArgumentException
49
- * This is thrown if the {@link Locale} parameter is {@code null}.
46
+ * @param locale The string matching logic is case insensitive. A {@link Locale} is necessary to normalize both Strings to lower case.
47
+ * @throws IllegalArgumentException This is thrown if the {@link Locale} parameter is {@code null}.
50
48
*/
51
49
public FuzzyScore (final Locale locale ) {
52
50
if (locale == null ) {
@@ -56,8 +54,7 @@ public FuzzyScore(final Locale locale) {
56
54
}
57
55
58
56
/**
59
- * Find the Fuzzy Score which indicates the similarity score between two
60
- * Strings.
57
+ * Find the Fuzzy Score which indicates the similarity score between two Strings.
61
58
*
62
59
* <pre>
63
60
* score.fuzzyScore(null, null) = IllegalArgumentException
@@ -72,11 +69,10 @@ public FuzzyScore(final Locale locale) {
72
69
* score.fuzzyScore("Apache Software Foundation", "asf") = 3
73
70
* </pre>
74
71
*
75
- * @param term a full term that should be matched against, must not be null
76
- * @param query the query that will be matched against a term, must not be
77
- * null
78
- * @return result score
79
- * @throws IllegalArgumentException if the term or query is {@code null}
72
+ * @param term a full term that should be matched against, must not be null.
73
+ * @param query the query that will be matched against a term, must not be null.
74
+ * @return result score.
75
+ * @throws IllegalArgumentException if the term or query is {@code null}.
80
76
*/
81
77
public Integer fuzzyScore (final CharSequence term , final CharSequence query ) {
82
78
if (term == null || query == null ) {
0 commit comments