Changeset 8724 in josm
- Timestamp:
- 2015-09-03T22:55:04+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/Test.java
r8490 r8724 196 196 */ 197 197 public void visit(Collection<OsmPrimitive> selection) { 198 progressMonitor.setTicksCount(selection.size()); 198 if (progressMonitor != null) { 199 progressMonitor.setTicksCount(selection.size()); 200 } 199 201 for (OsmPrimitive p : selection) { 200 202 if (isPrimitiveUsable(p)) { 201 203 p.accept(this); 202 204 } 203 progressMonitor.worked(1); 205 if (progressMonitor != null) { 206 progressMonitor.worked(1); 207 } 204 208 } 205 209 }
Note:
See TracChangeset
for help on using the changeset viewer.