From 52dc7d740434c6ece2e4ea79be0c505e996b5aa7 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Mon, 7 Jul 2014 13:29:25 +0200 Subject: [PATCH] Migrate Poland to auto-complete via getstops endpoint. --- enabler/src/de/schildbach/pte/PlProvider.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/enabler/src/de/schildbach/pte/PlProvider.java b/enabler/src/de/schildbach/pte/PlProvider.java index 3d5fd0d9..3037a444 100644 --- a/enabler/src/de/schildbach/pte/PlProvider.java +++ b/enabler/src/de/schildbach/pte/PlProvider.java @@ -19,7 +19,6 @@ package de.schildbach.pte; import java.io.IOException; import java.util.Collection; -import java.util.List; import de.schildbach.pte.dto.Location; import de.schildbach.pte.dto.LocationType; @@ -41,7 +40,7 @@ public class PlProvider extends AbstractHafasProvider public PlProvider() { - super(API_BASE + "stboard.exe/pn", null, API_BASE + "query.exe/pn", 7, UTF_8, UTF_8); + super(API_BASE + "stboard.exe/pn", API_BASE + "ajax-getstop.exe/pn", API_BASE + "query.exe/pn", 7, UTF_8, UTF_8); } public NetworkId id() @@ -173,12 +172,6 @@ public class PlProvider extends AbstractHafasProvider reader.replace("platform=\"K ", " "); // Poland } - @Override - public List autocompleteStations(final CharSequence constraint) throws IOException - { - return xmlMLcReq(constraint); - } - @Override public Collection defaultProducts() {