Changeset 13758 in osm


Ignore:
Timestamp:
2009-02-16T15:22:25+01:00 (16 years ago)
Author:
stoecker
Message:

minor fixes

Location:
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmFileCacheTileLoader.java

    r13036 r13758  
    280280        }
    281281
    282         protected File getTileFile() throws IOException {
     282        protected File getTileFile() {
    283283            return new File(tileCacheDir + "/" + tile.getZoom() + "_" + tile.getXtile() + "_" + tile.getYtile() + "."
    284284                    + source.getTileType());
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Tile.java

    r11783 r13758  
    112112                int ytile_low = ytile >> zoomDiff;
    113113                int factor = (1 << zoomDiff);
    114                 double scale = (double) factor;
     114                double scale = factor;
    115115                AffineTransform at = new AffineTransform();
    116116                int translate_x = (xtile % factor) * SIZE;
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/interfaces/TileSource.java

    r11783 r13758  
    1414     * Specifies the different mechanisms for detecting updated tiles
    1515     * respectively only download newer tiles than those stored locally.
    16      * 
     16     *
    1717     * <ul>
    1818     * <li>{@link #IfNoneMatch} Server provides ETag header entry for all tiles
     
    3131     * mechanisms.</li>
    3232     * </ul>
    33      * 
     33     *
    3434     */
    3535    public enum TileUpdate {
    3636        IfNoneMatch, ETag, IfModifiedSince, LastModified, None
    37     };
     37    }
    3838
    3939    /**
Note: See TracChangeset for help on using the changeset viewer.