Skip to content

Commit

Permalink
Fixed issue OneBusAway#227.
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertgoeuropa committed Dec 9, 2019
1 parent 5b10ace commit 53f7d70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -801,9 +801,9 @@ public StopWithArrivalsAndDeparturesV2Bean getStopWithArrivalAndDepartures(

List<ArrivalAndDepartureV2Bean> ads = new ArrayList<ArrivalAndDepartureV2Bean>();
for (ArrivalAndDepartureBean ad : sad.getArrivalsAndDepartures()) {
if(ad.isPredicted() && ad.getPredictedArrivalTime() == 0 && ad.getNumberOfStopsAway() < 0)
if(ad.isPredicted() && ad.getPredictedArrivalTime() == 0 && ad.getNumberOfStopsAway() < 0)
continue;
ads.add(getArrivalAndDeparture(ad));
ads.add(getArrivalAndDeparture(ad));
}
bean.setArrivalsAndDepartures(ads);

Expand Down

0 comments on commit 53f7d70

Please sign in to comment.