Changeset 10919 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2016-08-31T16:12:28+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r10794 r10919 1452 1452 LatLon coordinate = ((Node) osm).getCoor(); 1453 1453 Collection<Bounds> allBounds = getBounds(osm); 1454 return allBounds != null && allBounds.stream().anyMatch(bounds -> bounds.contains(coordinate)); 1454 return coordinate != null && allBounds != null && allBounds.stream().anyMatch(bounds -> bounds.contains(coordinate)); 1455 1455 } else if (osm instanceof Way) { 1456 1456 Collection<Node> nodes = ((Way) osm).getNodes();
Note:
See TracChangeset
for help on using the changeset viewer.