Ignore:
Timestamp:
2013-08-21T03:47:16+02:00 (12 years ago)
Author:
donvip
Message:

[josm_plugins] fix #8987 - bump min JOSM version of nearly all plugins to r6162 + code update/cleanup, fix warnings

File:
1 edited

Legend:

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

    r28961 r29854  
    183183        // flip the image (svg using a reversed Y coordinate system)
    184184        double pivot = viewBox.min.getY() + (viewBox.max.getY() - viewBox.min.getY()) / 2;
    185         for (EastNorth en : eastNorth) {
    186             en.setLocation(en.east(), 2 * pivot - en.north());
     185        for (int i = 0; i < eastNorth.size(); i++) {
     186            EastNorth en = eastNorth.get(i);
     187            eastNorth.set(i, new EastNorth(en.east(), 2 * pivot - en.north()));
    187188        }
    188189        return;
     
    254255                svg += line;
    255256            }
     257            br.close();
    256258            bos.close();
    257259        } catch (IOException e) {
Note: See TracChangeset for help on using the changeset viewer.