Changeset 10235 in josm for trunk/src/org/openstreetmap/josm/gui/preferences
- Timestamp:
- 2016-05-17T02:02:30+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r10212 r10235 498 498 * Synchronously loads available sources and returns the parsed list. 499 499 * @return list of available sources 500 * @throws OsmTransferException in case of OSM transfer error 501 * @throws IOException in case of any I/O error 502 * @throws SAXException in case of any SAX error 500 503 */ 501 public final Collection<ExtendedSourceEntry> loadAndGetAvailableSources() { 502 try { 503 final SourceLoader loader = new SourceLoader(availableSourcesUrl, sourceProviders); 504 loader.realRun(); 505 return loader.sources; 506 } catch (IOException | SAXException | OsmTransferException ex) { 507 throw new RuntimeException(ex); 508 } 504 public final Collection<ExtendedSourceEntry> loadAndGetAvailableSources() throws SAXException, IOException, OsmTransferException { 505 final SourceLoader loader = new SourceLoader(availableSourcesUrl, sourceProviders); 506 loader.realRun(); 507 return loader.sources; 509 508 } 510 509
Note:
See TracChangeset
for help on using the changeset viewer.