MobilityData / gtfs-realtime-bindings

Language bindings generated from the GTFS Realtime protocol buffer spec for popular languages.
Apache License 2.0
373 stars 129 forks source link

Example Java code import statements incorrect? #54

Closed nselikoff closed 5 years ago

nselikoff commented 5 years ago

In the example Java code in this README, the import statements use io.mobilitydata.transit.realtime.GtfsRealtime, but the actual path of the generated code is still com.google.transit.realtime.GtfsRealtime.

Since the management of the gtfs-realtime-bindings has passed to @MobilityData, will this path be updated in the generated code in the future? Or kept to maintain backwards compatibility?

Either way a quick update to that README is needed.

barbeau commented 5 years ago

@nselikoff Thanks for flagging this! Yes, this is an error in the docs - the import will remain com.google.transit.realtime.GtfsRealtime for backwards compatibility. I'll fix this shortly.