- Timestamp:
- 2012-04-12T01:04:13+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r5142 r5177 292 292 } 293 293 TaggingPresetPreference.initialize(); 294 // some validator tests require the presets to be initialized 295 // TODO remove this dependency for parallel initialization 296 if (initListener != null) { 297 initListener.updateStatus(tr("Initializing validator")); 298 } 299 validator = new OsmValidator(); 300 MapView.addLayerChangeListener(validator); 294 301 return null; 295 302 } … … 316 323 } 317 324 ImageryPreference.initialize(); 318 return null;319 }320 });321 322 tasks.add(new Callable<Void>() {323 324 @Override325 public Void call() throws Exception {326 if (initListener != null) {327 initListener.updateStatus(tr("Initializing validator"));328 }329 validator = new OsmValidator();330 MapView.addLayerChangeListener(validator);331 325 return null; 332 326 }
Note:
See TracChangeset
for help on using the changeset viewer.