mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
fixed umlaut problem with Stockholm auto-complete
This commit is contained in:
parent
b6043f2b18
commit
7375bfad4e
2 changed files with 9 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class StockholmProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
public StockholmProvider()
|
public StockholmProvider()
|
||||||
{
|
{
|
||||||
super(API_BASE + "query.exe/sn", 7, null, UTF_8, null);
|
super(API_BASE + "query.exe/sn", 7, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public NetworkId id()
|
public NetworkId id()
|
||||||
|
|
|
@ -73,6 +73,14 @@ public class StockholmProviderLiveTest extends AbstractProviderLiveTest
|
||||||
print(autocompletes);
|
print(autocompletes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void autocompleteUmlaut() throws Exception
|
||||||
|
{
|
||||||
|
final List<Location> autocompletes = provider.autocompleteStations("östra");
|
||||||
|
|
||||||
|
print(autocompletes);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void shortConnection() throws Exception
|
public void shortConnection() throws Exception
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue