mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
Migrate network IDs to constant field.
This commit is contained in:
parent
695fc56d8e
commit
cf651676d2
70 changed files with 130 additions and 480 deletions
|
@ -26,21 +26,15 @@ import de.schildbach.pte.dto.Style.Shape;
|
|||
*/
|
||||
public class ParisProvider extends AbstractNavitiaProvider
|
||||
{
|
||||
public static final NetworkId NETWORK_ID = NetworkId.PARIS;
|
||||
private static String API_REGION = "fr-idf";
|
||||
|
||||
public ParisProvider(final String authorization)
|
||||
{
|
||||
super(authorization);
|
||||
super(NetworkId.PARIS, authorization);
|
||||
|
||||
setTimeZone("Europe/Paris");
|
||||
}
|
||||
|
||||
public NetworkId id()
|
||||
{
|
||||
return NETWORK_ID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String region()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue