private final Map<String, Fare> fares;
public Loader(GTFSFeed feed, Map<String, Fare> fares) {
super(feed, "fare_rules");
this.fares = fares;
}
<BUG>@Override
public void loadOneRow() throws IOException {</BUG>
String fareId = getStringField("fare_id", true);
if (!fares.containsKey(fareId)) {
this.feed.errors.add(new ReferentialIntegrityError(tableName, row, "fare_id", fareId));

private final Map<String, Fare> fares;
public Loader(GTFSFeed feed, Map<String, Fare> fares) {
super(feed, "fare_rules");
this.fares = fares;
}
@Override
protected boolean isRequired() {
return false;
}
@Override
public void loadOneRow() throws IOException {
String fareId = getStringField("fare_id", true);
if (!fares.containsKey(fareId)) {
this.feed.errors.add(new ReferentialIntegrityError(tableName, row, "fare_id", fareId));
