Changeset 30737 in osm for applications/editors/josm/plugins/undelete/src/org/openstreetmap
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java
r30722 r30737 80 80 @Override 81 81 public void run() { 82 List<Node> nodes = new ArrayList< Node>();82 List<Node> nodes = new ArrayList<>(); 83 83 for (PrimitiveId pid : ids) { 84 84 OsmPrimitive primitive = layer.data.getPrimitiveById(pid); … … 127 127 // hPrimitive2.getId(), hPrimitive2.getVersion(), 128 128 // hWay.getNumNodes())); 129 List<PrimitiveId> nodeIds = new ArrayList< PrimitiveId>();129 List<PrimitiveId> nodeIds = new ArrayList<>(); 130 130 if (hWay != null) { 131 131 for (Long i : hWay.getNodes()) { … … 146 146 147 147 if (hRel != null) { 148 List<RelationMember> members = new ArrayList< RelationMember>(hRel.getNumMembers());148 List<RelationMember> members = new ArrayList<>(hRel.getNumMembers()); 149 149 for (RelationMemberData m : hRel.getMembers()) { 150 150 OsmPrimitive p = layer.data.getPrimitiveById(m.getMemberId(), m.getMemberType());
Note:
See TracChangeset
for help on using the changeset viewer.