From dfe36ef78bbdf0f06f7aa23ca7143a1a948075f7 Mon Sep 17 00:00:00 2001 From: Vincent Paturet Date: Tue, 7 May 2024 12:45:10 +0200 Subject: [PATCH] Fix typo --- .../apis/transmodel/model/stop/StopPlaceType.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/opentripplanner/apis/transmodel/model/stop/StopPlaceType.java b/src/main/java/org/opentripplanner/apis/transmodel/model/stop/StopPlaceType.java index 5518db3e7fd..3ab444bb52c 100644 --- a/src/main/java/org/opentripplanner/apis/transmodel/model/stop/StopPlaceType.java +++ b/src/main/java/org/opentripplanner/apis/transmodel/model/stop/StopPlaceType.java @@ -358,7 +358,7 @@ public static GraphQLObjectType create( "numberOfDeparturesPerLineAndDestinationDisplay" ); int timeRangeInput = getPositiveNonNullIntegerArgument(environment, "timeRange"); - Duration timeRage = Duration.ofSeconds(timeRangeInput); + Duration timeRange = Duration.ofSeconds(timeRangeInput); MonoOrMultiModalStation monoOrMultiModalStation = environment.getSource(); JourneyWhiteListed whiteListed = new JourneyWhiteListed(environment); @@ -375,7 +375,7 @@ public static GraphQLObjectType create( getTripTimesForStop( singleStop, startTime, - timeRage, + timeRange, arrivalDeparture, includeCancelledTrips, numberOfDepartures, @@ -420,7 +420,7 @@ public static GraphQLObjectType create( public static Stream getTripTimesForStop( StopLocation stop, Instant startTimeSeconds, - Duration timeRage, + Duration timeRange, ArrivalDeparture arrivalDeparture, boolean includeCancelledTrips, int numberOfDepartures, @@ -435,7 +435,7 @@ public static Stream getTripTimesForStop( List stopTimesInPatterns = transitService.stopTimesForStop( stop, startTimeSeconds, - timeRage, + timeRange, numberOfDepartures, arrivalDeparture, includeCancelledTrips