mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 05:39:51 +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;
|
String itdMessage = null;
|
||||||
if (XmlPullUtil.test(pp, "itdTrain"))
|
if (XmlPullUtil.test(pp, "itdTrain"))
|
||||||
{
|
{
|
||||||
itdTrainName = XmlPullUtil.attr(pp, "name");
|
itdTrainName = XmlPullUtil.optAttr(pp, "name", null);
|
||||||
itdTrainType = XmlPullUtil.attr(pp, "type");
|
itdTrainType = XmlPullUtil.attr(pp, "type");
|
||||||
if (!pp.isEmptyElementTag())
|
if (!pp.isEmptyElementTag())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue