use JSON stopfinder for Linz

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@872 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2012-01-21 00:35:07 +00:00
parent 86441af4be
commit a05e4181fe
2 changed files with 81 additions and 68 deletions

View file

@ -64,6 +64,6 @@ public class LinzProvider extends AbstractEfaProvider
@Override
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
{
return xmlStopfinderRequest(new Location(LocationType.STATION, 0, null, constraint.toString()));
return jsonStopfinderRequest(new Location(LocationType.ANY, 0, null, constraint.toString()));
}
}