Changeset 23965 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-10-31T15:27:32+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r23961 r23965 359 359 String streetName = aNode.getStreet(); 360 360 361 if (streetName != null && s treetDict.containsKey(streetName)) {362 StreetNode sNode = s treetDict.get(streetName);361 if (streetName != null && shadowStreetDict.containsKey(streetName)) { 362 StreetNode sNode = shadowStreetDict.get(streetName); 363 363 sNode.addAddress(aNode); 364 364 return true; … … 373 373 public void resolveAddresses() { 374 374 List<AddressNode> resolvedAddresses = new ArrayList<AddressNode>(); 375 for (AddressNode node : unresolvedAddresses) {375 for (AddressNode node : shadowUnresolvedAddresses) { 376 376 if (assignAddressToStreet(node)) { 377 377 resolvedAddresses.add(node); … … 381 381 /* Remove all resolves nodes from unresolved list */ 382 382 for (AddressNode resolved : resolvedAddresses) { 383 unresolvedAddresses.remove(resolved);383 shadowUnresolvedAddresses.remove(resolved); 384 384 } 385 385 } … … 405 405 // sort lists 406 406 Collections.sort(shadowIncompleteAddresses); 407 Collections.sort(shadow IncompleteAddresses);407 Collections.sort(shadowUnresolvedAddresses); 408 408 409 409 // put results from shadow copy into real lists
Note:
See TracChangeset
for help on using the changeset viewer.