Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.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/PasteTagsConflictResolverDialog.java
r6890 r7005 46 46 private static final Map<OsmPrimitiveType, String> PANE_TITLES; 47 47 static { 48 PANE_TITLES = new HashMap< OsmPrimitiveType, String>();48 PANE_TITLES = new HashMap<>(); 49 49 PANE_TITLES.put(OsmPrimitiveType.NODE, tr("Tags from nodes")); 50 50 PANE_TITLES.put(OsmPrimitiveType.WAY, tr("Tags from ways")); … … 78 78 setTitle(tr("Conflicts in pasted tags")); 79 79 allPrimitivesResolver = new TagConflictResolver(); 80 resolvers = new HashMap< OsmPrimitiveType, TagConflictResolver>();80 resolvers = new HashMap<>(); 81 81 for (OsmPrimitiveType type: OsmPrimitiveType.dataValues()) { 82 82 resolvers.put(type, new TagConflictResolver()); … … 360 360 361 361 public StatisticsInfo() { 362 sourceInfo = new HashMap< OsmPrimitiveType, Integer>();363 targetInfo = new HashMap< OsmPrimitiveType, Integer>();362 sourceInfo = new HashMap<>(); 363 targetInfo = new HashMap<>(); 364 364 } 365 365 } … … 398 398 399 399 public StatisticsTableModel() { 400 data = new ArrayList< StatisticsInfo>();400 data = new ArrayList<>(); 401 401 } 402 402
Note:
See TracChangeset
for help on using the changeset viewer.