Ignore:
Timestamp:
2015-06-02T16:41:37+02:00 (9 years ago)
Author:
Don-vip
Message:

remove extra whitespaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java

    r8419 r8444  
    105105    // these values correspond to the zoom levels used throughout OSM and are in meters/pixel from zoom level 0 to 18.
    106106    // taken from http://wiki.openstreetmap.org/wiki/Zoom_levels
    107     private static final Double[] snapLevels = { 156412.0, 78206.0, 39103.0, 19551.0, 9776.0, 4888.0,
    108         2444.0, 1222.0, 610.984, 305.492, 152.746, 76.373, 38.187, 19.093, 9.547, 4.773, 2.387, 1.193, 0.596 };
     107    private static final Double[] snapLevels = {156412.0, 78206.0, 39103.0, 19551.0, 9776.0, 4888.0,
     108        2444.0, 1222.0, 610.984, 305.492, 152.746, 76.373, 38.187, 19.093, 9.547, 4.773, 2.387, 1.193, 0.596};
    109109
    110110    public static final BooleanProperty PROP_ALPHA_CHANNEL = new BooleanProperty("imagery.wms.alpha_channel", true);
     
    369369
    370370    public int getImageXIndex(double coord) {
    371         return (int)Math.floor( ((coord - dx) * info.getPixelPerDegree()) / imageSize);
     371        return (int)Math.floor(((coord - dx) * info.getPixelPerDegree()) / imageSize);
    372372    }
    373373
    374374    public int getImageYIndex(double coord) {
    375         return (int)Math.floor( ((coord - dy) * info.getPixelPerDegree()) / imageSize);
     375        return (int)Math.floor(((coord - dy) * info.getPixelPerDegree()) / imageSize);
    376376    }
    377377
     
    573573            }
    574574
    575             if (       priority == -1
     575            if (priority == -1
    576576                    || finishedRequests.contains(item)
    577577                    || processingRequests.contains(item)) {
Note: See TracChangeset for help on using the changeset viewer.