mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 09:19:57 +00:00
LU: select all products by default
Public transport is free in Luxembourg.
This commit is contained in:
parent
889ceb5994
commit
6c1f9926d8
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
package de.schildbach.pte;
|
||||
|
||||
import java.util.Set;
|
||||
import java.util.regex.Matcher;
|
||||
|
||||
import de.schildbach.pte.dto.Product;
|
||||
|
@ -46,6 +47,11 @@ public class LuProvider extends AbstractHafasClientInterfaceProvider {
|
|||
setApiAuthorization(apiAuthorization);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Product> defaultProducts() {
|
||||
return Product.ALL;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String[] splitStationName(final String name) {
|
||||
final Matcher m = P_SPLIT_NAME_FIRST_COMMA.matcher(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue