Ignore:
Timestamp:
2016-08-12T12:17:25+02:00 (8 years ago)
Author:
simon04
Message:

Remove superfluous FilteredCollection

Not used by any plugin in SVN

File:
1 edited

Legend:

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

    r10611 r10788  
    1212import java.util.ArrayList;
    1313import java.util.Arrays;
     14import java.util.Collection;
    1415import java.util.LinkedHashSet;
    1516import java.util.List;
     
    4546import org.openstreetmap.josm.gui.layer.OsmDataLayer.CommandQueueListener;
    4647import org.openstreetmap.josm.gui.widgets.PopupMenuLauncher;
    47 import org.openstreetmap.josm.tools.FilteredCollection;
    4848import org.openstreetmap.josm.tools.GBC;
    4949import org.openstreetmap.josm.tools.ImageProvider;
    5050import org.openstreetmap.josm.tools.InputMapUtils;
    5151import org.openstreetmap.josm.tools.Shortcut;
     52import org.openstreetmap.josm.tools.SubclassFilteredCollection;
    5253
    5354/**
     
    331332     * @return collection of affected primitives, onluy usable ones
    332333     */
    333     protected static FilteredCollection<? extends OsmPrimitive> getAffectedPrimitives(TreePath path) {
     334    protected static Collection<? extends OsmPrimitive> getAffectedPrimitives(TreePath path) {
    334335        PseudoCommand c = ((CommandListMutableTreeNode) path.getLastPathComponent()).getCommand();
    335336        final OsmDataLayer currentLayer = Main.getLayerManager().getEditLayer();
    336         return new FilteredCollection<>(
     337        return new SubclassFilteredCollection<>(
    337338                c.getParticipatingPrimitives(),
    338339                o -> {
Note: See TracChangeset for help on using the changeset viewer.