Changeset 30701 in osm for applications/editors/josm/plugins/opendata/modules/fr.paris/src
- Timestamp:
- 2014-10-04T17:28:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/fr.paris/src/org/openstreetmap/josm/plugins/opendata/modules/fr/paris/datasets/urbanisme/SanisettesHandler.java
r30340 r30701 50 50 public void updateDataSet(DataSet ds) { 51 51 52 List<Way> sourceWays = new ArrayList< Way>(ds.getWays());53 List<List<Way>> waysToCombine = new ArrayList< List<Way>>();52 List<Way> sourceWays = new ArrayList<>(ds.getWays()); 53 List<List<Way>> waysToCombine = new ArrayList<>(); 54 54 55 55 for (Iterator<Way> it = sourceWays.iterator(); it.hasNext();) { … … 57 57 it.remove(); 58 58 if (!wayProcessed(w, waysToCombine)) { 59 List<Way> list = new ArrayList< Way>();59 List<Way> list = new ArrayList<>(); 60 60 list.add(w); 61 61 boolean finished = false; 62 List<Way> sourceWays2 = new ArrayList< Way>(sourceWays);62 List<Way> sourceWays2 = new ArrayList<>(sourceWays); 63 63 while (!finished) { 64 64 int before = list.size();
Note:
See TracChangeset
for help on using the changeset viewer.