mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 00:50:31 +00:00
Sydney: 'M' line.
This commit is contained in:
parent
5625a97824
commit
2afb06e326
1 changed files with 7 additions and 0 deletions
|
@ -123,6 +123,13 @@ public class SydneyProvider extends AbstractEfaProvider {
|
|||
|| (longName != null && longName.startsWith("Regional Trains"))))
|
||||
return new Line(id, network, null, symbol);
|
||||
|
||||
throw new IllegalStateException("cannot normalize mot='" + mot + "' symbol='" + symbol + "' name='" + name
|
||||
+ "' long='" + longName + "' trainType='" + trainType + "' trainNum='" + trainNum + "' trainName='"
|
||||
+ trainName + "'");
|
||||
} else if ("2".equals(mot)) {
|
||||
if ("M".equals(symbol) || "M Metro North West Line".equals(symbol))
|
||||
return new Line(id, network, Product.SUBWAY, "M");
|
||||
|
||||
throw new IllegalStateException("cannot normalize mot='" + mot + "' symbol='" + symbol + "' name='" + name
|
||||
+ "' long='" + longName + "' trainType='" + trainType + "' trainNum='" + trainNum + "' trainName='"
|
||||
+ trainName + "'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue