diff --git a/docs/RouteRequest.md b/docs/RouteRequest.md index 52fd177fbf6..0fd9ec47f89 100644 --- a/docs/RouteRequest.md +++ b/docs/RouteRequest.md @@ -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`. diff --git a/src/main/java/org/opentripplanner/apis/transmodel/model/TransportModeSlack.java b/src/main/java/org/opentripplanner/apis/transmodel/model/TransportModeSlack.java index ed26711de88..dd2f72c0ec9 100644 --- a/src/main/java/org/opentripplanner/apis/transmodel/model/TransportModeSlack.java +++ b/src/main/java/org/opentripplanner/apis/transmodel/model/TransportModeSlack.java @@ -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 = diff --git a/src/main/java/org/opentripplanner/standalone/config/routerequest/RouteRequestConfig.java b/src/main/java/org/opentripplanner/standalone/config/routerequest/RouteRequestConfig.java index 628008da220..f9ea136fbe2 100644 --- a/src/main/java/org/opentripplanner/standalone/config/routerequest/RouteRequestConfig.java +++ b/src/main/java/org/opentripplanner/standalone/config/routerequest/RouteRequestConfig.java @@ -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; @@ -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`. """ ) diff --git a/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql b/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql index e6f4208c643..e7d68a2e780 100644 --- a/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql +++ b/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql @@ -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], @@ -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]