mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
rename Connection to Trip
This commit is contained in:
parent
fde90f7b87
commit
2852aedbd5
139 changed files with 1195 additions and 1236 deletions
|
@ -31,7 +31,7 @@ public class SydneyProvider extends AbstractEfaProvider
|
|||
{
|
||||
super(API_BASE);
|
||||
|
||||
setUseRouteIndexAsConnectionId(false);
|
||||
setUseRouteIndexAsTripId(false);
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
|
@ -48,7 +48,7 @@ public class SydneyProvider extends AbstractEfaProvider
|
|||
public boolean hasCapabilities(final Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
if (capability == Capability.AUTOCOMPLETE_ONE_LINE || capability == Capability.DEPARTURES || capability == Capability.CONNECTIONS)
|
||||
if (capability == Capability.AUTOCOMPLETE_ONE_LINE || capability == Capability.DEPARTURES || capability == Capability.TRIPS)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue