mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
Make auto-complete via getstops endpoint default (Hafas).
This commit is contained in:
parent
92790d5cab
commit
b265dd03cb
25 changed files with 15 additions and 152 deletions
|
@ -508,14 +508,6 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
ParserUtils.parseEuropeanTime(calendar, m.group(2));
|
||||
}
|
||||
|
||||
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
|
||||
{
|
||||
final StringBuilder uri = new StringBuilder(getStopEndpoint);
|
||||
uri.append(jsonGetStopsParameters(constraint));
|
||||
|
||||
return jsonGetStops(uri.toString());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isValidStationId(final String id)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue