Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/data/validation/util/ValUtil.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/util/ValUtil.java
r6869 r7005 40 40 Node n2 = w.getNode(w.getNodesCount() - 1); 41 41 42 List<List<Way>> cells = new ArrayList< List<Way>>(2);43 Set<Point2D> cellNodes = new HashSet< Point2D>();42 List<List<Way>> cells = new ArrayList<>(2); 43 Set<Point2D> cellNodes = new HashSet<>(); 44 44 Point2D cell; 45 45 … … 55 55 List<Way> ways = cellWays.get(cell); 56 56 if (ways == null) { 57 ways = new ArrayList< Way>();57 ways = new ArrayList<>(); 58 58 cellWays.put(cell, ways); 59 59 } … … 66 66 ways = cellWays.get( cell ); 67 67 if (ways == null) { 68 ways = new ArrayList< Way>();68 ways = new ArrayList<>(); 69 69 cellWays.put(cell, ways); 70 70 } … … 84 84 ways = cellWays.get(cell); 85 85 if (ways == null) { 86 ways = new ArrayList< Way>();86 ways = new ArrayList<>(); 87 87 cellWays.put(cell, ways); 88 88 } … … 96 96 ways = cellWays.get(cell); 97 97 if (ways == null) { 98 ways = new ArrayList< Way>();98 ways = new ArrayList<>(); 99 99 cellWays.put(cell, ways); 100 100 } … … 134 134 CheckParameterUtil.ensureParameterNotNull(en1, "en1"); 135 135 CheckParameterUtil.ensureParameterNotNull(en2, "en2"); 136 List<Point2D> cells = new ArrayList< Point2D>();136 List<Point2D> cells = new ArrayList<>(); 137 137 double x0 = en1.east() * gridDetail; 138 138 double x1 = en2.east() * gridDetail;
Note:
See TracChangeset
for help on using the changeset viewer.