Skip to content

Commit

Permalink
[SVN] r3341 Better London Travel in /Projects/Better London Travel/
Browse files Browse the repository at this point in the history
[FIX] Re-add Elizabeth as an alias to parse historical data correctly
  • Loading branch information
TWiStErRob committed Nov 7, 2022
1 parent 3cc742c commit ab7f25d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Shared/src/main/java/net/twisterrob/blt/model/Line.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,9 @@ public enum Line {
},
// "Elizabeth line" first to display it (match https://tfl.gov.uk/tube-dlr-overground/status/)
// "Elizabeth Line" comes from XML feed (http://cloud.tfl.gov.uk/TrackerNet/LineStatus)
// "Elizabeth" came from XML feed before 2022-11-07 so required to parse historical data.
// TODO what is the tracker net code?
ElizabethLine('?', 83, StopType.Rail, "Elizabeth line", "Elizabeth Line") {
ElizabethLine('?', 83, StopType.Rail, "Elizabeth line", "Elizabeth Line", "Elizabeth") {
@Override public int getBackground(LineColors colors) {
return colors.getElizabethLineBackground();
}
Expand Down

0 comments on commit ab7f25d

Please sign in to comment.