Skip to content

Commit

Permalink
Remove route_bikes_allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Nov 2, 2024
1 parent 156ce41 commit a02ccd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
14 changes: 0 additions & 14 deletions onebusaway-gtfs/src/main/java/org/onebusaway/gtfs/model/Route.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ public final class Route extends IdentityBean<AgencyAndId> {

@CsvField(name = "eligibility_restricted", optional = true, defaultValue = "-999")
private int eligibilityRestricted = MISSING_VALUE;

@Deprecated
@CsvField(name="route_bikes_allowed", optional = true, defaultValue = "0")
private int routeBikesAllowed = 0;

/**
* 0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes NOT allowed
Expand Down Expand Up @@ -168,16 +164,6 @@ public String getTextColor() {
public void setTextColor(String textColor) {
this.textColor = textColor;
}

@Deprecated
public int getRouteBikesAllowed() {
return routeBikesAllowed;
}

@Deprecated
public void setRouteBikesAllowed(int routeBikesAllowed) {
this.routeBikesAllowed = routeBikesAllowed;
}

/**
* @return 0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes NOT allowed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ public void testAllFields() throws IOException {
assertEquals("route desc", route.getDesc());
assertEquals("FF0000", route.getColor());
assertEquals("0000FF", route.getTextColor());
assertEquals(1, route.getRouteBikesAllowed());
assertEquals(2, route.getBikesAllowed());
assertEquals("http://agency.gov/route", route.getUrl());
assertEquals(100, route.getSortOrder());
Expand Down

0 comments on commit a02ccd2

Please sign in to comment.