Skip to content

Commit

Permalink
Remove branding URL from Agency and Route
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Nov 2, 2024
1 parent 7bed09f commit 1f9e5ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ public final class Agency extends IdentityBean<String> {
@CsvField(optional = true)
private String email;

@CsvField(optional = true)
private String brandingUrl;

public Agency() {

}
Expand All @@ -61,7 +58,6 @@ public Agency(Agency a) {
this.timezone = a.timezone;
this.lang = a.lang;
this.phone = a.phone;
this.brandingUrl = a.brandingUrl;
this.email = a.email;
this.fareUrl = a.fareUrl;
}
Expand Down Expand Up @@ -130,14 +126,6 @@ public void setEmail(String email) {
this.email = email;
}

public String getBrandingUrl() {
return brandingUrl;
}

public void setBrandingUrl(String brandingUrl) {
this.brandingUrl = brandingUrl;
}

public String toString() {
return "<Agency " + this.id + ">";
}
Expand Down
12 changes: 0 additions & 12 deletions onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Route.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ public final class Route extends IdentityBean<AgencyAndId> {
@CsvField(optional = true)
private int sortOrder = MISSING_VALUE;

@CsvField(optional = true)
private String brandingUrl;

// Custom extension representing (bus) route accepts regional fare card.
// That is it has a vending machine on board.
@CsvField(optional = true, name = "regional_fare_card", defaultValue = "0")
Expand All @@ -96,7 +93,6 @@ public Route(Route r) {
this.textColor = r.textColor;
this.bikesAllowed = r.bikesAllowed;
this.sortOrder = r.sortOrder;
this.brandingUrl = r.brandingUrl;
this.eligibilityRestricted = r.eligibilityRestricted;
this.regionalFareCardAccepted = r.regionalFareCardAccepted;
}
Expand Down Expand Up @@ -210,14 +206,6 @@ public void setSortOrder(int sortOrder) {
this.sortOrder = sortOrder;
}

public String getBrandingUrl() {
return brandingUrl;
}

public void setBrandingUrl(String brandingUrl) {
this.brandingUrl = brandingUrl;
}

public boolean hasEligibilityRestricted() {
return eligibilityRestricted != MISSING_VALUE;
}
Expand Down

0 comments on commit 1f9e5ff

Please sign in to comment.