Skip to content

Commit

Permalink
reformatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
qcdyx committed Jan 17, 2025
1 parent ce44b5d commit c679b58
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ public ContinuousPickupDropOffValidator(
public void validate(NoticeContainer noticeContainer) {
for (GtfsRoute route : routeTable.getEntities()) {
boolean continuous =
(route.continuousPickup() == GtfsContinuousPickupDropOff.ALLOWED || route.continuousPickup() == GtfsContinuousPickupDropOff.MUST_PHONE || route.continuousPickup() == GtfsContinuousPickupDropOff.ON_REQUEST_TO_DRIVER)
|| (route.continuousDropOff() == GtfsContinuousPickupDropOff.ALLOWED || route.continuousPickup() == GtfsContinuousPickupDropOff.MUST_PHONE || route.continuousPickup() == GtfsContinuousPickupDropOff.ON_REQUEST_TO_DRIVER);
(route.continuousPickup() == GtfsContinuousPickupDropOff.ALLOWED
|| route.continuousPickup() == GtfsContinuousPickupDropOff.MUST_PHONE
|| route.continuousPickup() == GtfsContinuousPickupDropOff.ON_REQUEST_TO_DRIVER)
|| (route.continuousDropOff() == GtfsContinuousPickupDropOff.ALLOWED
|| route.continuousPickup() == GtfsContinuousPickupDropOff.MUST_PHONE
|| route.continuousPickup() == GtfsContinuousPickupDropOff.ON_REQUEST_TO_DRIVER);
if (!continuous) {
continue;
}
Expand Down

0 comments on commit c679b58

Please sign in to comment.