projectwonder/wonder — pull request #314 by paulhoadley (2012-11-08 08:09:18+00:00)
Title: Minor refactoring of ERXStringUtilities.distance(). #312

As described in #312, these commits add a new method, `levenshteinDistance()` (which returns an `int`), implements that method with the body of `distance()`, and then changes the implementation of `distance()` to use the new method. Further, we deprecate `distance()` (because it unnecessarily returns a `double` instead of an `int`), fix the Javadocs that originally documented `distance()`, and update `ERXStringUtilitiesTest` to show that none of this makes any functional difference.