}
private List<Place> consolidatePlaces(List<Place> places) {
for (Iterator<Place> it = places.iterator(); it.hasNext();) {
Place place = it.next();
if (place.getName() == null)
it.remove();
}
// Merge nearby place results that are very similar
places = PlaceSearch.mergeNearbyEntries(places, PLACE_MERGE_DISTANCE);
List<Place> placesInRange = new ArrayList<Place>();
if (_bounds != null) {
for (Place place : places) {
if (_bounds.containsLatLng(place.getLocation()))
placesInRange.add(place);
}
}
if (!placesInRange.isEmpty())