mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
08.33.2014 8643a9160860e31611f034467f702eb3a712eb34
opendj3-server-dev/src/server/org/opends/server/util/LevenshteinDistance.java
@@ -22,12 +22,13 @@
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 */
package org.opends.server.util;
import static org.opends.server.util.Validator.*;
import static org.forgerock.util.Reject.*;
@@ -92,7 +93,7 @@
   */
  public static int calculate(String source, String target)
  {
    ensureNotNull(source, target);
    ifNull(source, target);
    // sl == source length; tl == target length
    int sl = source.length();