match exception message from threshold-free LD implementation

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1136508 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2011-06-16 16:03:51 +00:00
parent 0467966f4b
commit a6f4e95950
1 changed files with 1 additions and 1 deletions

View File

@ -6172,7 +6172,7 @@ public class StringUtils {
*/
public static int getLevenshteinDistance(CharSequence s, CharSequence t, int threshold) {
if(s == null || t == null) {
throw new IllegalArgumentException("String must not be null");
throw new IllegalArgumentException("Strings must not be null");
}
if(threshold < 0) {
throw new IllegalArgumentException("Threshold must not be negative");