mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
KVV: fix NullPointerException
in parseLine()
This commit is contained in:
parent
bb389a4e68
commit
47473c8aa5
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class KvvProvider extends AbstractEfaProvider {
|
|||
if ("0".equals(mot)) {
|
||||
if (trainName != null && trainName.startsWith("TRILEX"))
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainName);
|
||||
if (trainNum.equals("IRE 1"))
|
||||
if ("IRE 1".equals(trainNum))
|
||||
return new Line(id, network, Product.REGIONAL_TRAIN, "IRE1");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue