Ignore:
Timestamp:
2014-10-18T23:07:52+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix Java 7 / unused code warnings

File:
1 edited

Legend:

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

    r29854 r30737  
    9999    private void createBuildings(String svg) {
    100100        String[] SVGpaths = new SVGParser().getClosedPaths(svg);
    101         ArrayList<ArrayList<EastNorth>> eastNorths = new ArrayList<ArrayList<EastNorth>>();
     101        ArrayList<ArrayList<EastNorth>> eastNorths = new ArrayList<>();
    102102
    103103        // convert SVG nodes to eastNorth coordinates
    104104        for (int i=0; i< SVGpaths.length; i++) {
    105             ArrayList<EastNorth> eastNorth = new ArrayList<EastNorth>();
     105            ArrayList<EastNorth> eastNorth = new ArrayList<>();
    106106            createNodes(SVGpaths[i], eastNorth);
    107107            if (eastNorth.size() > 2)
     
    156156        }
    157157
    158         Collection<Command> cmds = new LinkedList<Command>();
     158        Collection<Command> cmds = new LinkedList<>();
    159159        for (Node node : svgDataSet.getNodes())
    160160            if (!node.isDeleted())
Note: See TracChangeset for help on using the changeset viewer.