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();