mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
VVO: fix NullPointerException
in parseLine()
This commit is contained in:
parent
2d8a1a7e84
commit
bb389a4e68
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class VvoProvider extends AbstractEfaProvider {
|
|||
if ("RB 71".equals(symbol))
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, "RB71");
|
||||
|
||||
if (P_C_LINE.matcher(symbol).matches())
|
||||
if (symbol != null && P_C_LINE.matcher(symbol).matches())
|
||||
return new Line(id, network, Product.TRAM, symbol);
|
||||
|
||||
if ("Fernbus".equals(trainName) && trainNum == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue