mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
fare info in connection details
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@371 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
2cd371a3f2
commit
23da0f645e
9 changed files with 85 additions and 12 deletions
|
@ -276,7 +276,7 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
else
|
||||
line = null;
|
||||
final Connection connection = new Connection(AbstractHafasProvider.extractConnectionId(link), link, departureTime, arrivalTime,
|
||||
line, line != null ? lineColors(line) : null, 0, from.name, 0, to.name, null);
|
||||
line, line != null ? lineColors(line) : null, 0, from.name, 0, to.name, null, null);
|
||||
connections.add(connection);
|
||||
}
|
||||
else
|
||||
|
@ -424,7 +424,7 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
throw new IllegalStateException("could not parse all parts of:\n" + page + "\n" + parts);
|
||||
|
||||
return new GetConnectionDetailsResult(new Date(), new Connection(AbstractHafasProvider.extractConnectionId(uri), uri, firstDepartureTime,
|
||||
lastArrivalTime, null, null, 0, firstDeparture, 0, lastArrival, parts));
|
||||
lastArrivalTime, null, null, 0, firstDeparture, 0, lastArrival, parts, null));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue