mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 16:29:51 +00:00
AbstractEfaProvider: 'RB' line
This commit is contained in:
parent
a16e53952e
commit
dad6f92556
2 changed files with 2 additions and 2 deletions
|
@ -1051,6 +1051,8 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
return new Line(id, network, Product.REGIONAL_TRAIN, "REX" + trainNum);
|
||||
if (("RB".equals(trainType) || "Regionalbahn".equals(trainName)) && trainNum != null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, "RB" + trainNum);
|
||||
if ("RB".equals(trainNum) && trainName == null)
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, "RB");
|
||||
if (trainType == null && trainNum != null && P_LINE_RB.matcher(trainNum).matches())
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainNum);
|
||||
if ("Abellio-Zug".equals(trainName))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue