mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
AbstractEfaProvider: Line.
This commit is contained in:
parent
935a4a21c4
commit
7dd43f90c5
1 changed files with 1 additions and 1 deletions
|
@ -1402,7 +1402,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
||||||
if (("S-Bahn".equals(trainName) || (longName != null && longName.startsWith("S-Bahn"))) && symbol != null)
|
if (("S-Bahn".equals(trainName) || (longName != null && longName.startsWith("S-Bahn"))) && symbol != null)
|
||||||
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
|
return new Line(id, network, Product.SUBURBAN_TRAIN, symbol);
|
||||||
} else if ("17".equals(mot)) {
|
} else if ("17".equals(mot)) {
|
||||||
if (trainNum == null && "Schienenersatzverkeh".equals(trainName))
|
if (trainNum == null && trainName != null && trainName.startsWith("Schienenersatz"))
|
||||||
return new Line(id, network, Product.BUS, "SEV");
|
return new Line(id, network, Product.BUS, "SEV");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue