mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-12 20:08:49 +00:00
AbstractHafasMobileProvider: Relax building of substitute trip IDs a bit in case of individual legs.
This commit is contained in:
parent
fa418ddbe3
commit
34d9ed3e0c
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ public final class Trip implements Serializable {
|
|||
builder.append(leg.arrival.hasId() ? leg.arrival.id : leg.arrival.lat + '/' + leg.arrival.lon).append('-');
|
||||
|
||||
if (leg instanceof Individual) {
|
||||
builder.append(((Individual) leg).min);
|
||||
builder.append("individual");
|
||||
} else if (leg instanceof Public) {
|
||||
final Public publicLeg = (Public) leg;
|
||||
final Date plannedDepartureTime = publicLeg.departureStop.plannedDepartureTime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue