mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 08:10:46 +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();
|
||||
if ("Niederflurwagen soweit verfügbar".equals(text)) // KVV
|
||||
lowFloorVehicle = true;
|
||||
else if (text.toLowerCase().contains("ruf")) // RufBus, RufTaxi
|
||||
else if (text != null && text.toLowerCase().contains("ruf")) // RufBus, RufTaxi
|
||||
message = text;
|
||||
XmlPullUtil.exit(pp, "infoTextListElem");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue