From 5fd655d3b09cc756df5e355e24d83346d1cbc845 Mon Sep 17 00:00:00 2001 From: "philip.cline" Date: Tue, 21 Nov 2023 11:45:52 -0500 Subject: [PATCH] refactor(st interpolation): update formatting --- src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java b/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java index c017b571..f29d07b4 100644 --- a/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java +++ b/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java @@ -785,8 +785,7 @@ private int interpolateTimesFromTimepoints( } double timepointSpeed = (nextTimepoint.shape_dist_traveled - lastTimepoint.shape_dist_traveled) / nextTimepoint.default_travel_time; - int travelTime = (int) Math.round((patternStop.shape_dist_traveled - previousShapeDistTraveled) / timepointSpeed); - return travelTime; + return (int) Math.round((patternStop.shape_dist_traveled - previousShapeDistTraveled) / timepointSpeed); } /**