mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
use JSON for autocomplete where possible
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@941 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
d888d6907f
commit
322f7eede7
18 changed files with 44 additions and 144 deletions
|
@ -17,12 +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;
|
||||
|
||||
/**
|
||||
* Verkehrsverbund Vorarlberg
|
||||
*
|
||||
|
@ -51,10 +45,4 @@ public class VmobilProvider extends AbstractEfaProvider
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
|
||||
{
|
||||
return xmlStopfinderRequest(new Location(LocationType.ANY, 0, null, constraint.toString()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue