Sydney: 'M' line.

This commit is contained in:
Dongchen Yue 2021-01-18 18:22:44 +01:00 committed by Andreas Schildbach
parent 5625a97824
commit 2afb06e326

View file

@ -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 + "'");