Skip to content

Commit

Permalink
FIX: NAV-193 - Set headsign as an optional field
Browse files Browse the repository at this point in the history
  • Loading branch information
munterfi committed Sep 24, 2024
1 parent 9475580 commit 229ea7c
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 229ea7c

Please sign in to comment.