test without return
This commit is contained in:
parent
228c1786c7
commit
edd224da96
1 changed files with 3 additions and 3 deletions
|
@ -160,11 +160,11 @@ public class RegionAddressRepositoryBinary implements RegionAddressRepository {
|
||||||
@Override
|
@Override
|
||||||
public List<City> fillWithSuggestedCities(String name, final ResultMatcher<City> resultMatcher, boolean searchVillages, LatLon currentLocation) {
|
public List<City> fillWithSuggestedCities(String name, final ResultMatcher<City> resultMatcher, boolean searchVillages, LatLon currentLocation) {
|
||||||
List<City> citiesToFill = new ArrayList<City>();
|
List<City> citiesToFill = new ArrayList<City>();
|
||||||
// if (cities.isEmpty()) {
|
if (cities.isEmpty()) {
|
||||||
preloadCities(resultMatcher);
|
preloadCities(resultMatcher);
|
||||||
citiesToFill.addAll(cities.values());
|
citiesToFill.addAll(cities.values());
|
||||||
return citiesToFill;
|
// return citiesToFill;
|
||||||
// }
|
}
|
||||||
|
|
||||||
preloadCities(null);
|
preloadCities(null);
|
||||||
if (name.length() == 0) {
|
if (name.length() == 0) {
|
||||||
|
|
Loading…
Reference in a new issue