Changeset 8681 in josm for trunk/src/org
- Timestamp:
- 2015-08-22T21:35:05+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r8530 r8681 443 443 public Collection<SourceEntry> getActiveSources() { 444 444 return activeSourcesModel.getSources(); 445 } 446 447 /** 448 * Synchronously loads available sources and returns the parsed list. 449 */ 450 Collection<ExtendedSourceEntry> loadAndGetAvailableSources() { 451 try { 452 final SourceLoader loader = new SourceLoader(availableSourcesUrl, sourceProviders); 453 loader.realRun(); 454 return loader.sources; 455 } catch (Exception ex) { 456 throw new RuntimeException(ex); 457 } 445 458 } 446 459
Note:
See TracChangeset
for help on using the changeset viewer.