Use HttpUrl and HttpUrl.Builder where possible.

This commit is contained in:
Andreas Schildbach 2017-01-02 19:15:29 +01:00
parent e50098f092
commit 4f7bd832e6
79 changed files with 977 additions and 916 deletions

View file

@ -17,13 +17,15 @@
package de.schildbach.pte;
import okhttp3.HttpUrl;
/**
* @author Patrick Kanzler
*/
public class FranceNorthWestProvider extends AbstractNavitiaProvider {
private static String API_REGION = "fr-nw";
public FranceNorthWestProvider(final String apiBase, final String authorization) {
public FranceNorthWestProvider(final HttpUrl apiBase, final String authorization) {
super(NetworkId.FRANCENORTHWEST, apiBase, authorization);
setTimeZone("Europe/Paris");