Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/tags/PasteTagsConflictResolverDialog.java

    r6890 r7005  
    4646    private static final Map<OsmPrimitiveType, String> PANE_TITLES;
    4747    static {
    48         PANE_TITLES = new HashMap<OsmPrimitiveType, String>();
     48        PANE_TITLES = new HashMap<>();
    4949        PANE_TITLES.put(OsmPrimitiveType.NODE, tr("Tags from nodes"));
    5050        PANE_TITLES.put(OsmPrimitiveType.WAY, tr("Tags from ways"));
     
    7878        setTitle(tr("Conflicts in pasted tags"));
    7979        allPrimitivesResolver = new TagConflictResolver();
    80         resolvers = new HashMap<OsmPrimitiveType, TagConflictResolver>();
     80        resolvers = new HashMap<>();
    8181        for (OsmPrimitiveType type: OsmPrimitiveType.dataValues()) {
    8282            resolvers.put(type, new TagConflictResolver());
     
    360360
    361361        public StatisticsInfo() {
    362             sourceInfo = new HashMap<OsmPrimitiveType, Integer>();
    363             targetInfo = new HashMap<OsmPrimitiveType, Integer>();
     362            sourceInfo = new HashMap<>();
     363            targetInfo = new HashMap<>();
    364364        }
    365365    }
     
    398398
    399399        public StatisticsTableModel() {
    400             data = new ArrayList<StatisticsInfo>();
     400            data = new ArrayList<>();
    401401        }
    402402
Note: See TracChangeset for help on using the changeset viewer.