private GeoCodeItem modernWithNoResult(final String placeName,
            final String modernPlaceName, final GeoDocument geoDocument) {
        // No result, try to get.
        final GeocodingResult[] results = geoCoder.geocode(modernPlaceName);
        if (results.length == 0) {
            // Not found, so current is good enough.
            return geoDocument.getGeoItem();
        }

        final GeoCodeItem gcce =
                new GeoCodeItem(placeName, modernPlaceName, results[0]);
        add(gcce);
        return gcce;
    }
private GeoCodeItem modernWithNoResult ( final String placeName , final String modernPlaceName , final GeoDocument geoDocument ) { final GeocodingResult [ ] results = geoCoder . geocode ( modernPlaceName ) ; if ( results . length == 0 ) { return geoDocument . getGeoItem ( ) ; } final GeoCodeItem gcce = new GeoCodeItem ( placeName , modernPlaceName , results [ 0 ] ) ; add ( gcce ) ; return gcce ; }
@param placeName the old place name
@param modernPlaceName the modern place name
@param geoDocument the document
@return the matching geocode item