mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-12 00:08:47 +00:00
Fix stop name can be null in xmlCoordRequest
This commit is contained in:
parent
f9fd933bfa
commit
0b9985c3e5
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
throw new RuntimeException("unknown type");
|
||||
|
||||
final int id = XmlPullUtil.intAttr(pp, "id");
|
||||
final String name = normalizeLocationName(XmlPullUtil.attr(pp, "name"));
|
||||
final String name = normalizeLocationName(XmlPullUtil.optAttr(pp, "name", null));
|
||||
final String place = normalizeLocationName(XmlPullUtil.attr(pp, "locality"));
|
||||
|
||||
XmlPullUtil.enter(pp, "coordInfoItem");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue