Skip to content

Commit

Permalink
flighdata-skyalps-gtfs: remove last nonsense comma in routes.txt and …
Browse files Browse the repository at this point in the history
…trips.txt header row
  • Loading branch information
dulvui committed Jan 23, 2024
1 parent ee99e67 commit 0c0505a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public static void writeRoutes(ArrayList<RoutesValues> routesValueslist)

Routes routes = new Routes();

String firstLine = routes.getRoute_id() + "," + routes.getRoute_short_name() + "," + routes.getRoute_type()
+ ",";
String firstLine = routes.getRoute_id() + "," + routes.getRoute_short_name() + "," + routes.getRoute_type();

GTFSReadFileFolder.readFiles();
FileWriter writer = new FileWriter(GTFSReadFileFolder.getRoutes());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static void writeTrips(ArrayList<TripsValues> tripsvalueslist) throws IOE

Trips trips = new Trips();

String firstLine = trips.getRoute_id() + "," + trips.getService_id() + "," + trips.getTrip_id() + "," + trips.getDirection_id() + ",";
String firstLine = trips.getRoute_id() + "," + trips.getService_id() + "," + trips.getTrip_id() + "," + trips.getDirection_id();

GTFSReadFileFolder.readFiles();
FileWriter writer = new FileWriter(GTFSReadFileFolder.getTrips());
Expand Down

0 comments on commit 0c0505a

Please sign in to comment.