Ignore:
Timestamp:
2016-07-04T14:18:17+02:00 (10 years ago)
Author:
donvip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreGrabber.java

    r32211 r32556  
    1 // License: GPL. v2 and later. Copyright 2008-2009 by Pieren <pieren3@gmail.com> and others
     1// License: GPL. For details, see LICENSE file.
    22package cadastre_fr;
    33
     
    5454        str += wmsLayer.eastNorth2raster(lambertMin, lambertMax);
    5555        str += "&width="+cRasterX+"&height="; // maximum allowed by wms server (576/345, 800/378, 1000/634)
    56         str += (int)(cRasterX*(wmsLayer.communeBBox.max.getY() - wmsLayer.communeBBox.min.getY())/(wmsLayer.communeBBox.max.getX() - wmsLayer.communeBBox.min.getX()));
     56        str += (int) (cRasterX*(wmsLayer.communeBBox.max.getY() - wmsLayer.communeBBox.min.getY())/(wmsLayer.communeBBox.max.getX() - wmsLayer.communeBBox.min.getX()));
    5757        str += "&exception=application/vnd.ogc.se_inimage&styles="; // required for raster images
    5858        Main.info("URL="+str);
     
    8484
    8585    private BufferedImage grab(URL url) throws IOException, OsmTransferException {
    86         wmsInterface.urlConn = (HttpURLConnection)url.openConnection();
     86        wmsInterface.urlConn = (HttpURLConnection) url.openConnection();
    8787        wmsInterface.urlConn.setRequestProperty("Connection", "close");
    8888        wmsInterface.urlConn.setRequestMethod("GET");
Note: See TracChangeset for help on using the changeset viewer.