private void completePlace(Place place) throws IOException { if (place.getCoord() == null) { return; } Place googlePlace = googleProvider.retrievePlace(place.getCoord(), place.getName()); if (googlePlace == null) { return; } place.setOpenningDays(googlePlace.getOpenningDays()); place.setPhone(googlePlace.getPhone()); }