fix autocomplete coverage for Baden-Württemberg

This commit is contained in:
Andreas Schildbach 2013-03-22 16:29:12 +01:00
parent 5c79bf70a3
commit a4c148709c
2 changed files with 19 additions and 11 deletions

View file

@ -17,11 +17,6 @@
package de.schildbach.pte;
import java.io.IOException;
import java.util.List;
import de.schildbach.pte.dto.Location;
import de.schildbach.pte.dto.LocationType;
/**
* @author Andreas Schildbach
@ -35,6 +30,7 @@ public class NvbwProvider extends AbstractEfaProvider
{
super(API_BASE);
setIncludeRegionId(false);
setUseRouteIndexAsConnectionId(false);
}
@ -51,10 +47,4 @@ public class NvbwProvider extends AbstractEfaProvider
return false;
}
@Override
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
{
return xmlStopfinderRequest(new Location(LocationType.STATION, 0, null, constraint.toString()));
}
}