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:
andreas.schildbach@gmail.com 2012-02-12 20:37:34 +00:00
parent d888d6907f
commit 322f7eede7
18 changed files with 44 additions and 144 deletions

View file

@ -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()));
}
}