mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
Change NetworkProvider.queryTrips() signature to accept a Set of products rather than a Collection.
This commit is contained in:
parent
5efdafc05e
commit
0a571554c5
12 changed files with 14 additions and 33 deletions
|
@ -20,9 +20,9 @@ package de.schildbach.pte.live;
|
|||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
import java.util.EnumSet;
|
||||
import java.util.Set;
|
||||
|
||||
import de.schildbach.pte.NetworkProvider;
|
||||
import de.schildbach.pte.NetworkProvider.Accessibility;
|
||||
|
@ -121,7 +121,7 @@ public abstract class AbstractProviderLiveTest
|
|||
}
|
||||
|
||||
protected final QueryTripsResult queryTrips(final Location from, final Location via, final Location to, final Date date, final boolean dep,
|
||||
final Collection<Product> products, final WalkSpeed walkSpeed, final Accessibility accessibility) throws IOException
|
||||
final Set<Product> products, final WalkSpeed walkSpeed, final Accessibility accessibility) throws IOException
|
||||
{
|
||||
return provider.queryTrips(from, via, to, date, dep, products, walkSpeed, accessibility, null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue