javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1136518 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1b8ec1888
commit
15f4c21a3b
|
@ -6167,7 +6167,7 @@ public class StringUtils {
|
|||
* @param s the first String, must not be null
|
||||
* @param t the second String, must not be null
|
||||
* @param threshold the target threshold, must not be negative
|
||||
* @return result distance, or -1 if the distance would be greater than the threshold
|
||||
* @return result distance, or {@code -1} if the distance would be greater than the threshold
|
||||
* @throws IllegalArgumentException if either String input {@code null} or negative threshold
|
||||
*/
|
||||
public static int getLevenshteinDistance(CharSequence s, CharSequence t, int threshold) {
|
||||
|
|
Loading…
Reference in New Issue