mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +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;
|
package de.schildbach.pte;
|
||||||
|
|
||||||
|
import java.util.Set;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
|
|
||||||
import de.schildbach.pte.dto.Product;
|
import de.schildbach.pte.dto.Product;
|
||||||
|
@ -46,6 +47,11 @@ public class LuProvider extends AbstractHafasClientInterfaceProvider {
|
||||||
setApiAuthorization(apiAuthorization);
|
setApiAuthorization(apiAuthorization);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<Product> defaultProducts() {
|
||||||
|
return Product.ALL;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String[] splitStationName(final String name) {
|
protected String[] splitStationName(final String name) {
|
||||||
final Matcher m = P_SPLIT_NAME_FIRST_COMMA.matcher(name);
|
final Matcher m = P_SPLIT_NAME_FIRST_COMMA.matcher(name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue