String matchedLocation = location;
String geocoderName = null;
if (results.size() == 1) {
List<String> matchedStrings = results.get(0).getCanonicalStrings();
if (null != matchedStrings) {
matchedLocation = splitGeocoderStringService.combine(matchedStrings);
}
geocoderName = results.get(0).getGeocoderName();
}
response.setCanonicalLocation(matchedLocation);
response.setGeocoderName(geocoderName);