mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 08:19:51 +00:00
remove duplicate autocompleteStations implementations
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@939 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8f834f14ff
commit
ef7b3eb9cf
9 changed files with 4 additions and 86 deletions
|
@ -17,13 +17,9 @@
|
|||
|
||||
package de.schildbach.pte;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import de.schildbach.pte.dto.Location;
|
||||
import de.schildbach.pte.dto.LocationType;
|
||||
import de.schildbach.pte.dto.Style;
|
||||
import de.schildbach.pte.dto.Style.Shape;
|
||||
|
||||
|
@ -60,12 +56,6 @@ public class KvvProvider extends AbstractEfaProvider
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
|
||||
{
|
||||
return jsonStopfinderRequest(new Location(LocationType.ANY, 0, null, constraint.toString()));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String parseLine(final String mot, final String name, final String longName, final String noTrainName)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue