Ignore:
Timestamp:
2015-05-07T01:27:41+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:S1319 - Declarations should use Java collection interfaces rather than specific implementation classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java

    r8308 r8338  
    190190        Set<DefaultMutableTreeNode> processedNodes = new HashSet<>();
    191191
    192         LinkedList<TestError> errorsToFix = new LinkedList<>();
     192        List<TestError> errorsToFix = new LinkedList<>();
    193193        for (TreePath path : selectionPaths) {
    194194            DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent();
     
    548548            tree.setFilter(null);
    549549        }
    550         HashSet<OsmPrimitive> filter = new HashSet<>(newSelection);
    551         tree.setFilter(filter);
     550        tree.setFilter(new HashSet<>(newSelection));
    552551    }
    553552
Note: See TracChangeset for help on using the changeset viewer.