Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java

    r8470 r8510  
    7373    public static int index(LatLon ll, int level) {
    7474        long noParts = 1 << level;
    75         long x = ((long)((ll.lon() + 180.0) * noParts / 360.0)) & 1;
    76         long y = ((long)((ll.lat() + 90.0) * noParts / 180.0)) & 1;
     75        long x = ((long) ((ll.lon() + 180.0) * noParts / 360.0)) & 1;
     76        long y = ((long) ((ll.lat() + 90.0) * noParts / 180.0)) & 1;
    7777        return (int) (2 * x + y);
    7878    }
     
    149149                if (DEBUG) System.err.println(" - new with idx "+idx);
    150150                LatLon center = bbox.getCenter();
    151                 BBox b = new BBox(lon1,lat1, center.lon(), center.lat());
     151                BBox b = new BBox(lon1, lat1, center.lon(), center.lat());
    152152                children[idx] = new GPLevel<>(level + 1, b, this, owner);
    153153            }
Note: See TracChangeset for help on using the changeset viewer.