mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 17:10:30 +00:00
EFA: Fix parsing of <itdTrain />.
This commit is contained in:
parent
6d30efd3de
commit
3ade966329
1 changed files with 1 additions and 1 deletions
|
@ -1936,7 +1936,7 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider
|
|||
String itdMessage = null;
|
||||
if (XmlPullUtil.test(pp, "itdTrain"))
|
||||
{
|
||||
itdTrainName = XmlPullUtil.attr(pp, "name");
|
||||
itdTrainName = XmlPullUtil.optAttr(pp, "name", null);
|
||||
itdTrainType = XmlPullUtil.attr(pp, "type");
|
||||
if (!pp.isEmptyElementTag())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue