From 1f9e5ffdcd1b7afaafdc7e9562f016d9d9372d18 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Sat, 2 Nov 2024 21:28:31 +0100 Subject: [PATCH] Remove branding URL from Agency and Route --- .../main/java/org/onebusaway/gtfs/model/Agency.java | 12 ------------ .../main/java/org/onebusaway/gtfs/model/Route.java | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Agency.java b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Agency.java index 3dc77b781..9dc9127bf 100644 --- a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Agency.java +++ b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Agency.java @@ -47,9 +47,6 @@ public final class Agency extends IdentityBean { @CsvField(optional = true) private String email; - @CsvField(optional = true) - private String brandingUrl; - public Agency() { } @@ -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; } @@ -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 ""; } diff --git a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Route.java b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Route.java index b2451d6c9..d5c30bfcb 100644 --- a/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Route.java +++ b/onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Route.java @@ -72,9 +72,6 @@ public final class Route extends IdentityBean { @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") @@ -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; } @@ -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; }