mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 09:19:57 +00:00
Fix NetworkProvider.hasCapabilities().
This commit is contained in:
parent
d066f17807
commit
4d46299fb1
73 changed files with 61 additions and 606 deletions
|
@ -52,15 +52,6 @@ public class VbbProvider extends AbstractHafasProvider
|
|||
return NETWORK_ID;
|
||||
}
|
||||
|
||||
public boolean hasCapabilities(final Capability... capabilities)
|
||||
{
|
||||
for (final Capability capability : capabilities)
|
||||
if (capability == Capability.DEPARTURES || capability == Capability.SUGGEST_LOCATIONS || capability == Capability.TRIPS)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected char intToProduct(final int value)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue