Changeset 4727 in josm
- Timestamp:
- 2011-12-27T18:33:59+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r4072 r4727 1010 1010 } 1011 1011 } 1012 );1012 ); 1013 1013 } 1014 1014 … … 1099 1099 private BufferedReader reader; 1100 1100 private boolean canceled; 1101 private final List<ExtendedSourceEntry> sources = new ArrayList<ExtendedSourceEntry>(); 1101 1102 1102 1103 public SourceLoader(String url) { … … 1117 1118 } 1118 1119 1119 @Override1120 protected void finish() {}1121 1120 1122 1121 protected void warn(Exception e) { … … 1131 1130 JOptionPane.ERROR_MESSAGE, 1132 1131 ht(getStr(I18nString.FAILED_TO_LOAD_SOURCES_FROM_HELP_TOPIC)) 1133 );1132 ); 1134 1133 } 1135 1134 1136 1135 @Override 1137 1136 protected void realRun() throws SAXException, IOException, OsmTransferException { 1138 LinkedList<ExtendedSourceEntry> sources = new LinkedList<ExtendedSourceEntry>();1139 1137 String lang = LanguageInfo.getLanguageCodeXML(); 1140 1138 try { … … 1210 1208 return; 1211 1209 } 1210 } 1211 1212 @Override 1213 protected void finish() { 1212 1214 availableSourcesModel.setSources(sources); 1213 1215 } … … 1285 1287 } 1286 1288 } 1287 );1289 ); 1288 1290 } 1289 1291
Note:
See TracChangeset
for help on using the changeset viewer.