What steps will reproduce the problem?
1. Pass a string longer than DEFAULT_LENGTH
What is the expected output? What do you see instead?
It should increase currentRow, previousRow and transpositionRow. Instead, an
ArrayIndexOutOfBoundsException is thrown.
I believe the problem lies with these checks:
http://code.google.com/p/fuzzy-search-tools/source/browse/trunk/src/ru/fuzzysear
ch/DamerauLevensteinMetric.java#42
http://code.google.com/p/fuzzy-search-tools/source/browse/trunk/src/ru/fuzzysear
ch/DamerauLevensteinMetric.java#103
Shouldn't it be >=?
Original issue reported on code.google.com by GoncaloS...@gmail.com on 1 Jun 2012 at 5:01
Original issue reported on code.google.com by
GoncaloS...@gmail.com
on 1 Jun 2012 at 5:01