Skip to content

Commit 7a372a6

Browse files
committed
refactor(validation): also rename variable in it's class and add comments there too
1 parent d6edb05 commit 7a372a6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/com/conveyal/gtfs/validator/ValidationResult.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ public class ValidationResult implements Serializable {
2626

2727
/**
2828
* the actual first and last date of service which is calculated in {@link ServiceValidator#complete}
29+
* These variables are actually not directly tied to data in the calendar_dates.txt file. Instead, they represent
30+
* the first and last date respectively of any entry in the calendar.txt and calendar_dates.txt files.
2931
*/
30-
public LocalDate firstDateOfService;
31-
public LocalDate lastDateOfService;
32+
public LocalDate firstCalendarDate;
33+
public LocalDate lastCalendarDate;
3234

3335
public int[] dailyBusSeconds;
3436
public int[] dailyTramSeconds;

0 commit comments

Comments
 (0)