Skip to content

Commit

Permalink
Merge pull request #122 from naviqore/bugfix/NAV-193-headsign-is-an-o…
Browse files Browse the repository at this point in the history
…ptinal-field

FIX: NAV-193 - Set headsign as an optional field
  • Loading branch information
munterfi authored Sep 24, 2024
2 parents 9475580 + 229ea7c commit 77454d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private void parseRoute(CSVRecord record) {
private void parseTrips(CSVRecord record) {
try {
builder.addTrip(record.get("trip_id"), record.get("route_id"), record.get("service_id"),
record.get("trip_headsign"),
Utils.getStringFieldOrDefault(record, "trip_headsign", ""),
AccessibilityInformation.parse(Utils.getIntFieldOrDefault(record, "wheelchair_accessible", 0)),
BikeInformation.parse(Utils.getIntFieldOrDefault(record, "bikes_allowed", 0)));
} catch (IllegalArgumentException e) {
Expand Down

0 comments on commit 77454d2

Please sign in to comment.