Skip to content

Commit

Permalink
Add method
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 7, 2025
1 parent 94ee02c commit fd156b7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.opentripplanner.street.model.elevation.ElevationUtils;
import org.opentripplanner.transit.service.TimetableRepository;
import org.opentripplanner.updater.configure.UpdaterConfigurator;
import org.opentripplanner.updater.trip.TimetableSnapshotManager;
import org.opentripplanner.utils.logging.ProgressTracker;
import org.opentripplanner.visualizer.GraphVisualizer;
import org.slf4j.Logger;
Expand Down Expand Up @@ -169,7 +170,7 @@ private void setupTransitRoutingServer() {
vehicleRentalRepository(),
vehicleParkingRepository(),
timetableRepository(),
factory.timetableSnapshotManager(),
snapshotManager(),
routerConfig().updaterConfig()
);

Expand Down Expand Up @@ -269,6 +270,10 @@ public VehicleRentalRepository vehicleRentalRepository() {
return factory.vehicleRentalRepository();
}

private TimetableSnapshotManager snapshotManager() {
return factory.timetableSnapshotManager();
}

public VehicleParkingService vehicleParkingService() {
return factory.vehicleParkingService();
}
Expand Down

0 comments on commit fd156b7

Please sign in to comment.