Changeset 9937 in osm for applications/viewer/jmapviewer/src/org/openstreetmap
- Timestamp:
- 2008-08-18T11:20:05+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmFileCacheTileLoader.java
r9848 r9937 302 302 new FileOutputStream(tileCacheDir + "/" + tile.getZoom() + "_" 303 303 + tile.getXtile() + "_" + tile.getYtile() + ETAG_FILE_EXT); 304 f.write(eTag.getBytes(ETAG_CHARSET ));304 f.write(eTag.getBytes(ETAG_CHARSET.name())); 305 305 f.close(); 306 306 } catch (Exception e) { … … 317 317 f.read(buf); 318 318 f.close(); 319 return new String(buf, ETAG_CHARSET );319 return new String(buf, ETAG_CHARSET.name()); 320 320 } catch (Exception e) { 321 321 return null;
Note:
See TracChangeset
for help on using the changeset viewer.