Changeset 10001 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java
- Timestamp:
- 2016-03-17T01:50:12+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java
r9070 r10001 119 119 int i; // iterates through s 120 120 int j; // iterates through t 121 char s _i; // ith character of s122 char t _j; // jth character of t121 char si; // ith character of s 122 char tj; // jth character of t 123 123 int cost; // cost 124 124 … … 143 143 for (i = 1; i <= n; i++) { 144 144 145 s _i = s.charAt(i - 1);145 si = s.charAt(i - 1); 146 146 147 147 // Step 4 148 148 for (j = 1; j <= m; j++) { 149 149 150 t _j = t.charAt(j - 1);150 tj = t.charAt(j - 1); 151 151 152 152 // Step 5 153 if (s _i == t_j) {153 if (si == tj) { 154 154 cost = 0; 155 155 } else {
Note:
See TracChangeset
for help on using the changeset viewer.