Changeset 14373 in josm for trunk/scripts
- Timestamp:
- 2018-10-27T15:41:32+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/I18nSimilarStrings.java
r14138 r14373 6 6 import org.openstreetmap.josm.data.preferences.JosmBaseDirectories; 7 7 import org.openstreetmap.josm.data.preferences.JosmUrls; 8 import org.openstreetmap.josm.data.validation.tests.SimilarNamedWays;9 8 import org.openstreetmap.josm.gui.MainApplicationTest; 10 9 import org.openstreetmap.josm.plugins.PluginHandlerTestIT; 11 10 import org.openstreetmap.josm.spi.preferences.Config; 12 11 import org.openstreetmap.josm.tools.I18n; 12 import org.openstreetmap.josm.tools.Utils; 13 13 14 14 // License: GPL. For details, see LICENSE file. … … 45 45 String a = strings.get(i); 46 46 String b = strings.get(j); 47 int d = SimilarNamedWays.getLevenshteinDistance(a, b);47 int d = Utils.getLevenshteinDistance(a, b); 48 48 if (d <= 2) { 49 49 System.err.println(": " + a + " <--> " + b);
Note:
See TracChangeset
for help on using the changeset viewer.