mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
return Location in departures result
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@319 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
6811870b0e
commit
62b992a805
10 changed files with 18 additions and 15 deletions
|
@ -516,7 +516,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
}
|
||||
}
|
||||
|
||||
return new QueryDeparturesResult(Integer.parseInt(stationId), null, departures);
|
||||
return new QueryDeparturesResult(new Location(LocationType.STATION, Integer.parseInt(stationId), 0, 0, null), departures);
|
||||
}
|
||||
|
||||
private static final Pattern P_NORMALIZE_LINE_NUMBER = Pattern.compile("\\d{2,5}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue