mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
fix NullPointerException caused by an empty message
This commit is contained in:
parent
090a2ed1e8
commit
a35618e018
1 changed files with 1 additions and 1 deletions
|
@ -2209,7 +2209,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
||||||
final String text = pp.getText();
|
final String text = pp.getText();
|
||||||
if ("Niederflurwagen soweit verfügbar".equals(text)) // KVV
|
if ("Niederflurwagen soweit verfügbar".equals(text)) // KVV
|
||||||
lowFloorVehicle = true;
|
lowFloorVehicle = true;
|
||||||
else if (text.toLowerCase().contains("ruf")) // RufBus, RufTaxi
|
else if (text != null && text.toLowerCase().contains("ruf")) // RufBus, RufTaxi
|
||||||
message = text;
|
message = text;
|
||||||
XmlPullUtil.exit(pp, "infoTextListElem");
|
XmlPullUtil.exit(pp, "infoTextListElem");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue