Пример #1
0
 private boolean isNonRevenueStop(StopBean stop) {
   String agencyId = AgencyAndIdLibrary.convertFromString(stop.getId()).getAgencyId();
   return !_service.stopHasRevenueService(agencyId, stop.getId());
 }
 private AgencyAndId getVehicleId(String vehicleId) {
   if (vehicleId.startsWith(_agencyId)) return AgencyAndIdLibrary.convertFromString(vehicleId);
   return new AgencyAndId(_agencyId, vehicleId);
 }