HSLdevcom / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
33 stars 31 forks source link

Return null if leg doesn't have an route id #343

Closed leonardehrenfried closed 4 years ago

leonardehrenfried commented 4 years ago

I pulled the latest changes into our repo and noticed a NPE when returning walking legs, as they don't have a route id/agency id.

This PR fixes it.