Update utilities

This commit is contained in:
Victor Shcherb 2015-12-18 13:53:47 +02:00
parent 4aa68b7b2b
commit 3cc3549ec6

View file

@ -265,7 +265,7 @@ public class GeocodingUtilities {
@Override @Override
public boolean isCancelled() { public boolean isCancelled() {
return result.isCancelled(); return result != null && result.isCancelled();
} }
}, mainWord); }, mainWord);
reader.searchAddressDataByName(req); reader.searchAddressDataByName(req);