Changeset 4897 in josm for trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
- Timestamp:
- 2012-02-02T19:44:03+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r4874 r4897 666 666 } 667 667 668 @Deprecated669 public final Node getNearestNode(Point p) {670 return getNearestNode(p, OsmPrimitive.isUsablePredicate);671 }672 673 668 /** 674 669 * The *result* does not depend on the current map selection state, … … 887 882 } 888 883 889 @Deprecated890 public final Way getNearestWay(Point p) {891 return getNearestWay(p, OsmPrimitive.isUsablePredicate);892 }893 894 884 /** 895 885 * The *result* does not depend on the current map selection state, … … 1025 1015 1026 1016 return osm; 1027 }1028 1029 @Deprecated1030 public final OsmPrimitive getNearest(Point p, Predicate<OsmPrimitive> predicate) {1031 return getNearestNodeOrWay(p, predicate, false);1032 }1033 1034 @Deprecated1035 public final Collection<OsmPrimitive> getNearestCollection(Point p, Predicate<OsmPrimitive> predicate) {1036 return asColl(getNearest(p, predicate));1037 1017 } 1038 1018
Note:
See TracChangeset
for help on using the changeset viewer.