mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 04:18:46 +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 ("0".equals(mot)) {
|
||||||
if (trainName != null && trainName.startsWith("TRILEX"))
|
if (trainName != null && trainName.startsWith("TRILEX"))
|
||||||
return new Line(id, network, Product.REGIONAL_TRAIN, trainName);
|
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");
|
return new Line(id, network, Product.REGIONAL_TRAIN, "IRE1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue