mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 02:48:47 +00:00
AbstractEfaProvider: priorize symbol for suburban trains
This commit is contained in:
parent
d55e4027f1
commit
aa5415dd14
1 changed files with 1 additions and 1 deletions
|
@ -1389,7 +1389,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
if (trainName != null && trainType == null && trainNum == null)
|
||||
return new Line(id, network, null, trainName);
|
||||
} else if ("1".equals(mot)) {
|
||||
if (symbol != null && P_LINE_S.matcher(symbol).matches())
|
||||
if (symbol != null)
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
|
||||
if (name != null && P_LINE_S.matcher(name).matches())
|
||||
return new Line(id, network, Product.SUBURBAN_TRAIN, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue