From 6d0ebb8a51b2c258e15d83cb53055541d83a1dcc Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Mon, 7 Jul 2014 15:01:33 +0200 Subject: [PATCH] Migrate Luxembourg to auto-complete via getstops endpoint. --- enabler/src/de/schildbach/pte/LuProvider.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/enabler/src/de/schildbach/pte/LuProvider.java b/enabler/src/de/schildbach/pte/LuProvider.java index cc0d2995..cf7cb856 100644 --- a/enabler/src/de/schildbach/pte/LuProvider.java +++ b/enabler/src/de/schildbach/pte/LuProvider.java @@ -18,7 +18,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; @@ -36,7 +35,7 @@ public class LuProvider extends AbstractHafasProvider public LuProvider() { - super(API_BASE + "stboard.exe/fn", null, API_BASE + "query.exe/fn", 9, UTF_8, UTF_8); + super(API_BASE + "stboard.exe/fn", API_BASE + "ajax-getstop.exe/fn", API_BASE + "query.exe/fn", 9, UTF_8, UTF_8); } public NetworkId id() @@ -169,12 +168,6 @@ public class LuProvider extends AbstractHafasProvider return xmlQueryDepartures(uri.toString(), stationId); } - @Override - public List autocompleteStations(final CharSequence constraint) throws IOException - { - return xmlMLcReq(constraint); - } - @Override protected char normalizeType(final String type) {