mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 08:19:51 +00:00
Use HttpUrl and HttpUrl.Builder where possible.
This commit is contained in:
parent
e50098f092
commit
4f7bd832e6
79 changed files with 977 additions and 916 deletions
|
@ -22,13 +22,15 @@ import de.schildbach.pte.dto.Style;
|
|||
import de.schildbach.pte.dto.Style.Shape;
|
||||
import de.schildbach.pte.util.WordUtils;
|
||||
|
||||
import okhttp3.HttpUrl;
|
||||
|
||||
/**
|
||||
* @author Antonio El Khoury
|
||||
*/
|
||||
public class ParisProvider extends AbstractNavitiaProvider {
|
||||
private static String API_REGION = "fr-idf";
|
||||
|
||||
public ParisProvider(final String apiBase, final String authorization) {
|
||||
public ParisProvider(final HttpUrl apiBase, final String authorization) {
|
||||
super(NetworkId.PARIS, apiBase, authorization);
|
||||
|
||||
setTimeZone("Europe/Paris");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue