@@ -35,7 +35,7 @@ public class Feed {
35
35
public final TableReader <Agency > agencies ;
36
36
public final TableReader <Calendar > calendars ;
37
37
public final TableReader <CalendarDate > calendarDates ;
38
- // public final TableReader<Fare> fares ;
38
+ public final TableReader <FareAttribute > fareAttributes ;
39
39
public final TableReader <Route > routes ;
40
40
public final TableReader <Stop > stops ;
41
41
public final TableReader <Trip > trips ;
@@ -57,7 +57,7 @@ public Feed (DataSource dataSource, String tablePrefix) {
57
57
if (tablePrefix != null && !tablePrefix .endsWith ("." )) tablePrefix += "." ;
58
58
this .tablePrefix = tablePrefix == null ? "" : tablePrefix ;
59
59
agencies = new JDBCTableReader (Table .AGENCY , dataSource , tablePrefix , EntityPopulator .AGENCY );
60
- // fares = new JDBCTableReader(Table.FARES , dataSource, tablePrefix, EntityPopulator.FARE );
60
+ fareAttributes = new JDBCTableReader (Table .FARE_ATTRIBUTES , dataSource , tablePrefix , EntityPopulator .FARE_ATTRIBUTE );
61
61
calendars = new JDBCTableReader (Table .CALENDAR , dataSource , tablePrefix , EntityPopulator .CALENDAR );
62
62
calendarDates = new JDBCTableReader (Table .CALENDAR_DATES , dataSource , tablePrefix , EntityPopulator .CALENDAR_DATE );
63
63
routes = new JDBCTableReader (Table .ROUTES , dataSource , tablePrefix , EntityPopulator .ROUTE );
@@ -89,6 +89,7 @@ public ValidationResult validate () {
89
89
List <FeedValidator > feedValidators = Arrays .asList (
90
90
new MisplacedStopValidator (this , errorStorage , validationResult ),
91
91
new DuplicateStopsValidator (this , errorStorage ),
92
+ new FaresValidator (this , errorStorage ),
92
93
new TimeZoneValidator (this , errorStorage ),
93
94
new NewTripTimesValidator (this , errorStorage ),
94
95
new NamesValidator (this , errorStorage ));
0 commit comments