Skip to content

Commit 2be48ce

Browse files
Remove unused methods [ci skip]
1 parent 89eed00 commit 2be48ce

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

application/src/test-fixtures/java/org/opentripplanner/street/search/state/TestStateBuilder.java

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.opentripplanner.street.search.state;
22

33
import static org.junit.jupiter.api.Assertions.assertTrue;
4-
import static org.opentripplanner.routing.algorithm.raptoradapter.router.street.AccessEgressType.EGRESS;
54

65
import java.time.Instant;
76
import java.time.OffsetDateTime;
@@ -88,18 +87,6 @@ public static TestStateBuilder ofScooterRental() {
8887
return new TestStateBuilder(StreetMode.SCOOTER_RENTAL);
8988
}
9089

91-
/**
92-
* Creates a state that starts the scooter rental in arriveBy mode, so starting with
93-
* a rental scooter and going backwards until it finds a rental vertex where to drop it.
94-
*/
95-
public static TestStateBuilder ofScooterRentalArriveBy() {
96-
return new TestStateBuilder(StreetMode.SCOOTER_RENTAL, EGRESS);
97-
}
98-
99-
public static TestStateBuilder ofBikeRental() {
100-
return new TestStateBuilder(StreetMode.BIKE_RENTAL);
101-
}
102-
10390
public static TestStateBuilder ofCycling() {
10491
return new TestStateBuilder(StreetMode.BIKE);
10592
}
@@ -193,34 +180,13 @@ public TestStateBuilder pickUpCarFromStation() {
193180
);
194181
}
195182

196-
public TestStateBuilder pickUpFreeFloatingCar() {
197-
return pickUpRentalVehicle(
198-
RentalFormFactor.CAR,
199-
TestFreeFloatingRentalVehicleBuilder.of().withVehicleCar().build()
200-
);
201-
}
202-
203183
public TestStateBuilder pickUpFreeFloatingScooter() {
204184
return pickUpRentalVehicle(
205185
RentalFormFactor.SCOOTER,
206186
TestFreeFloatingRentalVehicleBuilder.of().withVehicleScooter().build()
207187
);
208188
}
209189

210-
public TestStateBuilder pickUpBikeFromStation() {
211-
return pickUpRentalVehicle(
212-
RentalFormFactor.BICYCLE,
213-
TestVehicleRentalStationBuilder.of().withVehicleTypeElectricBicycle(10, 10).build()
214-
);
215-
}
216-
217-
public TestStateBuilder pickUpFreeFloatingBike() {
218-
return pickUpRentalVehicle(
219-
RentalFormFactor.BICYCLE,
220-
TestFreeFloatingRentalVehicleBuilder.of().withVehicleBicycle().build()
221-
);
222-
}
223-
224190
/**
225191
* Traverse an elevator (onboard, hop and offboard edges).
226192
*/

0 commit comments

Comments
 (0)