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/CombinePrimitiveResolverDialog.java

    r6890 r7005  
    245245
    246246    protected List<Command> buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc) {
    247         LinkedList<Command> cmds = new LinkedList<Command>();
     247        LinkedList<Command> cmds = new LinkedList<>();
    248248        for (String key : tc.getKeys()) {
    249249            if (tc.hasUniqueEmptyValue(key)) {
     
    266266     */
    267267    public List<Command> buildResolutionCommands() {
    268         List<Command> cmds = new LinkedList<Command>();
     268        List<Command> cmds = new LinkedList<>();
    269269
    270270        TagCollection allResolutions = getTagConflictResolverModel().getAllResolutions();
     
    298298    protected void prepareDefaultRelationDecisions() {
    299299        RelationMemberConflictResolverModel model = getRelationMemberConflictResolverModel();
    300         Set<Relation> relations = new HashSet<Relation>();
     300        Set<Relation> relations = new HashSet<>();
    301301        for (int i = 0; i < model.getNumDecisions(); i++) {
    302302            RelationMemberConflictDecision decision = model.getDecision(i);
     
    533533            }
    534534        }
    535         List<Command> cmds = new LinkedList<Command>();
     535        List<Command> cmds = new LinkedList<>();
    536536        for (OsmPrimitive i : targetPrimitives) {
    537537            dialog.setTargetPrimitive(i);
Note: See TracChangeset for help on using the changeset viewer.