Ignore:
Timestamp:
2015-06-25T00:05:23+02:00 (9 years ago)
Author:
Don-vip
Message:

see #11255 - checkstyle/findbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java

    r8510 r8530  
    681681                max = null;
    682682            } else {
    683                 int y1 = tileSource.LatToY(bbox.getMinLat(), MAX_ZOOM);
    684                 int y2 = tileSource.LatToY(bbox.getMaxLat(), MAX_ZOOM);
    685                 int x1 = tileSource.LonToX(bbox.getMinLon(), MAX_ZOOM);
    686                 int x2 = tileSource.LonToX(bbox.getMaxLon(), MAX_ZOOM);
     683                int y1 = tileSource.latToY(bbox.getMinLat(), MAX_ZOOM);
     684                int y2 = tileSource.latToY(bbox.getMaxLat(), MAX_ZOOM);
     685                int x1 = tileSource.lonToX(bbox.getMinLon(), MAX_ZOOM);
     686                int x2 = tileSource.lonToX(bbox.getMaxLon(), MAX_ZOOM);
    687687
    688688                min = new Point(Math.min(x1, x2), Math.min(y1, y2));
Note: See TracChangeset for help on using the changeset viewer.