This commit is contained in:
Andreas Schildbach 2012-10-19 17:16:29 +02:00
parent e1c0589ca0
commit a988add80f

View file

@ -1181,6 +1181,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
return 'R' + type;
if ("Schneeberg".equals(type)) // VOR
return 'R' + type;
if ("FLZ".equals(type)) // Stainzer Flascherlzug
return 'R' + type;
if ("FTB".equals(type)) // Feistritztalbahn
return 'R' + type;
if ("DWE".equals(type)) // Dessau-Wörlitzer Eisenbahn
return 'R' + type;
if ("KTB".equals(type)) // Kandertalbahn
@ -1268,6 +1272,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
return "?";
if (P_LINE_Y.matcher(name).matches())
return "?" + name;
if ("Sonderverkehr Red Bull".equals(name))
return "?" + name;
throw new IllegalStateException("cannot normalize mot '" + mot + "' name '" + name + "' long '" + longName + "' noTrainName '"
+ noTrainName + "' type '" + type + "' str '" + str + "'");