From ab7f25d521b4ff037d8e45c2e851d017c66e77ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp=20=28TWiStErRob=29?= Date: Mon, 7 Nov 2022 10:19:22 +0000 Subject: [PATCH] [SVN] r3341 Better London Travel in /Projects/Better London Travel/ [FIX] Re-add Elizabeth as an alias to parse historical data correctly --- Shared/src/main/java/net/twisterrob/blt/model/Line.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shared/src/main/java/net/twisterrob/blt/model/Line.java b/Shared/src/main/java/net/twisterrob/blt/model/Line.java index 02ff8966..102f35bf 100644 --- a/Shared/src/main/java/net/twisterrob/blt/model/Line.java +++ b/Shared/src/main/java/net/twisterrob/blt/model/Line.java @@ -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(); }