Changeset 4082 in josm
- Timestamp:
- 2011-05-15T16:23:17+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/WmsCache.java
r4077 r4082 294 294 WmsCacheType.class.getClassLoader()); 295 295 Marshaller marshaller = context.createMarshaller(); 296 marshaller.marshal(index, new File (cacheDir, INDEX_FILENAME));297 } catch ( JAXBException e) {296 marshaller.marshal(index, new FileOutputStream(new File(cacheDir, INDEX_FILENAME))); 297 } catch (Exception e) { 298 298 System.err.println("Failed to save wms-cache file"); 299 299 e.printStackTrace(); 300 300 } 301 302 301 } 303 302
Note:
See TracChangeset
for help on using the changeset viewer.