use JSON stopfinder for Melbourne

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@883 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2012-01-21 11:34:11 +00:00
parent 84166c6698
commit 52dc79ea92

View file

@ -73,7 +73,7 @@ public class MetProvider extends AbstractEfaProvider
@Override
public List<Location> autocompleteStations(final CharSequence constraint) throws IOException
{
return xmlStopfinderRequest(new Location(LocationType.ANY, 0, null, constraint.toString()));
return jsonStopfinderRequest(new Location(LocationType.ANY, 0, null, constraint.toString()));
}
private static final Map<Character, int[]> LINES = new HashMap<Character, int[]>();