Ignore:
Timestamp:
2012-02-02T19:44:03+01:00 (12 years ago)
Author:
stoecker
Message:

cleanup shortcut handling a lot, fix some more deprecations

File:
1 edited

Legend:

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

    r4874 r4897  
    666666    }
    667667
    668     @Deprecated
    669     public final Node getNearestNode(Point p) {
    670         return getNearestNode(p, OsmPrimitive.isUsablePredicate);
    671     }
    672 
    673668    /**
    674669     * The *result* does not depend on the current map selection state,
     
    887882    }
    888883
    889     @Deprecated
    890     public final Way getNearestWay(Point p) {
    891         return getNearestWay(p, OsmPrimitive.isUsablePredicate);
    892     }
    893 
    894884    /**
    895885     * The *result* does not depend on the current map selection state,
     
    10251015
    10261016        return osm;
    1027     }
    1028 
    1029     @Deprecated
    1030     public final OsmPrimitive getNearest(Point p, Predicate<OsmPrimitive> predicate) {
    1031         return getNearestNodeOrWay(p, predicate, false);
    1032     }
    1033 
    1034     @Deprecated
    1035     public final Collection<OsmPrimitive> getNearestCollection(Point p, Predicate<OsmPrimitive> predicate) {
    1036         return asColl(getNearest(p, predicate));
    10371017    }
    10381018
Note: See TracChangeset for help on using the changeset viewer.