diff --git a/src/main/java/ch/naviqore/service/gtfs/raptor/convert/GtfsToRaptorConverter.java b/src/main/java/ch/naviqore/service/gtfs/raptor/convert/GtfsToRaptorConverter.java index 67e897c4..67ac63b8 100644 --- a/src/main/java/ch/naviqore/service/gtfs/raptor/convert/GtfsToRaptorConverter.java +++ b/src/main/java/ch/naviqore/service/gtfs/raptor/convert/GtfsToRaptorConverter.java @@ -81,12 +81,21 @@ private void addRoute(GtfsRoutePartitioner.SubRoute subRoute) { /** * Processes all types of transfers, ensuring the correct order of precedence: - *

- * 1. Additional transfers: These transfers have the lowest priority and are processed first. 2. Parent-child - * derived transfers: If a transfer is defined between two parent stops (e.g., A to B), this method derives - * corresponding transfers for their child stops (e.g., A1, A2, ... to B1, B2, ...). 3. GTFS schedule-defined - * transfers: Transfers explicitly defined in the GTFS schedule (e.g., A1 to B2) take the highest priority and are - * applied last, thereby overwriting transfers previously derived from parent stops. + *

    + *
  1. + * Additional transfers: These transfers have the lowest priority and are processed first. + *
  2. + *
  3. + * Parent-child derived transfers: If a transfer is defined between two parent stops + * (e.g., A to B), this method derives corresponding transfers for their child stops + * (e.g., A1, A2, ... to B1, B2, ...). + *
  4. + *
  5. + * GTFS schedule-defined transfers: Transfers explicitly defined in the GTFS schedule + * (e.g., A1 to B2) take the highest priority. These transfers are applied last, + * overwriting any transfers previously derived from parent stops. + *
  6. + *
*

* The method ensures that all transfers, whether additional, derived, or explicitly defined, are handled in the * correct priority order.