Changeset 10721 in josm for trunk/src/org/openstreetmap/josm/data/validation
- Timestamp:
- 2016-08-03T17:54:36+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java
r10680 r10721 24 24 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 25 25 import org.openstreetmap.josm.tools.MultiMap; 26 import org.openstreetmap.josm.tools.Utils;27 26 28 27 /** … … 158 157 159 158 // Step 6 160 d[i][j] = Utils.min(d[i - 1][j] + 1, d[i][j - 1] + 1, d[i - 1][j - 1] + cost);159 d[i][j] = Math.min(Math.min(d[i - 1][j] + 1, d[i][j - 1] + 1), d[i - 1][j - 1] + cost); 161 160 } 162 161 }
Note:
See TracChangeset
for help on using the changeset viewer.