Skip to content

Commit

Permalink
Fix grammar [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jun 4, 2024
1 parent 06a7e8c commit 519a1c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/RouteRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ The boardSlack is the minimum extra time to board a public transport vehicle.
The board time is added to the time when going from the stop (offboard) to onboard a transit
vehicle.

This is the same as the `transferSlack`, except that this also apply to to the first
This is the same as the `transferSlack`, except that this also applies to to the first
transit leg in the trip. This is the default value used, if not overridden by the `boardSlackList`.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class TransportModeSlack {
static {
BOARD_SLACK_DESCRIPTION =
"The boardSlack is the minimum extra time to board a public transport vehicle. This is " +
"the same as the 'minimumTransferTime', except that this also apply to to the first " +
"the same as the 'minimumTransferTime', except that this also applies to to the first " +
"transit leg in the trip.";

ALIGHT_SLACK_DESCRIPTION =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import static org.opentripplanner.standalone.config.routerequest.WheelchairConfig.mapWheelchairPreferences;

import java.time.Duration;
import java.util.List;
import java.util.stream.Collectors;
import org.opentripplanner.api.parameter.QualifiedModeSet;
import org.opentripplanner.framework.application.OTPFeature;
Expand Down Expand Up @@ -237,7 +236,7 @@ private static void mapTransitPreferences(NodeAdapter c, TransitPreferences.Buil
The board time is added to the time when going from the stop (offboard) to onboard a transit
vehicle.
This is the same as the `transferSlack`, except that this also apply to to the first
This is the same as the `transferSlack`, except that this also applies to to the first
transit leg in the trip. This is the default value used, if not overridden by the `boardSlackList`.
"""
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ type QueryType {
bicycleOptimisationMethod: BicycleOptimisationMethod = safe,
"The maximum bike speed along streets, in meters per second"
bikeSpeed: Float = 5.0,
"The boardSlack is the minimum extra time to board a public transport vehicle. This is the same as the 'minimumTransferTime', except that this also apply to to the first transit leg in the trip. This is the default value used, if not overridden by the 'boardSlackList'."
"The boardSlack is the minimum extra time to board a public transport vehicle. This is the same as the 'minimumTransferTime', except that this also applies to to the first transit leg in the trip. This is the default value used, if not overridden by the 'boardSlackList'."
boardSlackDefault: Int = 0,
"List of boardSlack for a given set of modes. Defaults: []"
boardSlackList: [TransportModeSlack],
Expand Down Expand Up @@ -987,7 +987,7 @@ type RoutingParameters {
bikeRentalPickupTime: Int
"Max bike speed along streets, in meters per second"
bikeSpeed: Float
"The boardSlack is the minimum extra time to board a public transport vehicle. This is the same as the 'minimumTransferTime', except that this also apply to to the first transit leg in the trip. This is the default value used, if not overridden by the 'boardSlackList'."
"The boardSlack is the minimum extra time to board a public transport vehicle. This is the same as the 'minimumTransferTime', except that this also applies to to the first transit leg in the trip. This is the default value used, if not overridden by the 'boardSlackList'."
boardSlackDefault: Int
"List of boardSlack for a given set of modes."
boardSlackList: [TransportModeSlackType]
Expand Down

0 comments on commit 519a1c2

Please sign in to comment.