Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anson Stewart <[email protected]>
  • Loading branch information
abyrd and ansoncfit authored Oct 26, 2023
1 parent 9a1d114 commit e9abaa9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.conveyal.r5.analyst.fare.InRoutingFareCalculator;
import com.conveyal.r5.analyst.scenario.PickupWaitTimes;
import com.conveyal.r5.api.util.LegMode;
import com.conveyal.r5.common.Util;
import com.conveyal.r5.point_to_point.builder.PointToPointQuery;
import com.conveyal.r5.profile.DominatingList;
import com.conveyal.r5.profile.FareDominatingList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public GridSinglePointTaskBuilder (GridLayout gridLayout) {
task.walkSpeed = gridLayout.streetGridSpacingMeters / gridLayout.walkBlockTraversalTimeSeconds;
// Record more detailed information to allow comparison to theoretical travel time distributions.
task.recordTravelTimeHistograms = true;
// Set the destination grid extents on the task, otherwise if no freeform PointSet is specifid, it will fail
// Set the destination grid extents on the task, otherwise if no freeform PointSet is specified, the task will fail
// checks on the grid dimensions and zoom level.
WebMercatorExtents extents = WebMercatorExtents.forWgsEnvelope(gridLayout.gridEnvelope(), DEFAULT_ZOOM);
task.zoom = extents.zoom;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import java.util.HashMap;
import java.util.Map;

import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

/**
Expand Down

0 comments on commit e9abaa9

Please sign in to comment.