Changeset 30737 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
- Timestamp:
- 2014-10-18T23:07:52+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r29854 r30737 99 99 private void createBuildings(String svg) { 100 100 String[] SVGpaths = new SVGParser().getClosedPaths(svg); 101 ArrayList<ArrayList<EastNorth>> eastNorths = new ArrayList< ArrayList<EastNorth>>();101 ArrayList<ArrayList<EastNorth>> eastNorths = new ArrayList<>(); 102 102 103 103 // convert SVG nodes to eastNorth coordinates 104 104 for (int i=0; i< SVGpaths.length; i++) { 105 ArrayList<EastNorth> eastNorth = new ArrayList< EastNorth>();105 ArrayList<EastNorth> eastNorth = new ArrayList<>(); 106 106 createNodes(SVGpaths[i], eastNorth); 107 107 if (eastNorth.size() > 2) … … 156 156 } 157 157 158 Collection<Command> cmds = new LinkedList< Command>();158 Collection<Command> cmds = new LinkedList<>(); 159 159 for (Node node : svgDataSet.getNodes()) 160 160 if (!node.isDeleted())
Note:
See TracChangeset
for help on using the changeset viewer.