OneBusAway / onebusaway-gtfs-modules

A Java-based library for reading, writing, and transforming public transit data in the GTFS format, including database support.
Other
129 stars 106 forks source link

fix - UpdateRouteNames null pointer exception #205

Closed CaylaSavitzky closed 2 years ago

CaylaSavitzky commented 2 years ago

Summary:

UpdateRouteNames throws a null pointer if given a route_longname that is null.

Expected behavior:

This update sets the long name to equal the short name because both cannot be null according to gtfs spec, it then continues with the regular transformation.

Please make sure these boxes are checked before submitting your pull request - thanks!