Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r6890 r7005 245 245 246 246 protected List<Command> buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc) { 247 LinkedList<Command> cmds = new LinkedList< Command>();247 LinkedList<Command> cmds = new LinkedList<>(); 248 248 for (String key : tc.getKeys()) { 249 249 if (tc.hasUniqueEmptyValue(key)) { … … 266 266 */ 267 267 public List<Command> buildResolutionCommands() { 268 List<Command> cmds = new LinkedList< Command>();268 List<Command> cmds = new LinkedList<>(); 269 269 270 270 TagCollection allResolutions = getTagConflictResolverModel().getAllResolutions(); … … 298 298 protected void prepareDefaultRelationDecisions() { 299 299 RelationMemberConflictResolverModel model = getRelationMemberConflictResolverModel(); 300 Set<Relation> relations = new HashSet< Relation>();300 Set<Relation> relations = new HashSet<>(); 301 301 for (int i = 0; i < model.getNumDecisions(); i++) { 302 302 RelationMemberConflictDecision decision = model.getDecision(i); … … 533 533 } 534 534 } 535 List<Command> cmds = new LinkedList< Command>();535 List<Command> cmds = new LinkedList<>(); 536 536 for (OsmPrimitive i : targetPrimitives) { 537 537 dialog.setTargetPrimitive(i);
Note:
See TracChangeset
for help on using the changeset viewer.