mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
make footway arrival clickable
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@131 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
1ab51c23f5
commit
d9499a3329
7 changed files with 35 additions and 23 deletions
|
@ -388,11 +388,11 @@ public final class BahnProvider implements NetworkProvider
|
|||
if (parts.size() > 0 && parts.get(parts.size() - 1) instanceof Connection.Footway)
|
||||
{
|
||||
final Connection.Footway lastFootway = (Connection.Footway) parts.remove(parts.size() - 1);
|
||||
parts.add(new Connection.Footway(lastFootway.min + Integer.parseInt(min), lastFootway.departure, arrival));
|
||||
parts.add(new Connection.Footway(lastFootway.min + Integer.parseInt(min), 0, lastFootway.departure, 0, arrival));
|
||||
}
|
||||
else
|
||||
{
|
||||
parts.add(new Connection.Footway(Integer.parseInt(min), departure, arrival));
|
||||
parts.add(new Connection.Footway(Integer.parseInt(min), 0, departure, 0, arrival));
|
||||
}
|
||||
|
||||
lastArrival = arrival;
|
||||
|
@ -401,7 +401,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
{
|
||||
final String arrival = ParserUtils.resolveEntities(mDetFine.group(12));
|
||||
|
||||
parts.add(new Connection.Footway(0, departure, arrival));
|
||||
parts.add(new Connection.Footway(0, 0, departure, 0, arrival));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue