103 |
} |
} |
104 |
|
|
105 |
public DepartureBean lookupDepartures(String stationcode, TrainType type, boolean arrival) throws Exception { |
public DepartureBean lookupDepartures(String stationcode, TrainType type, boolean arrival) throws Exception { |
106 |
if ( settings.getUseAzureSite() == true) { |
if ( settings.getBackend() == TraininfoSettings.Backend.Azure) { |
107 |
return lookupDeparturesAzureSite(stationcode, type, arrival); |
return lookupDeparturesAzureSite(stationcode, type, arrival); |
108 |
} else { |
} else { |
109 |
return lookupDeparturesMobileSite(stationcode, type, arrival); |
return lookupDeparturesMobileSite(stationcode, type, arrival); |