mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
fixed parse exceptions
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@493 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
3d14d7da8b
commit
9b00521836
1 changed files with 6 additions and 0 deletions
|
@ -855,6 +855,9 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
|
||||
XmlPullUtil.enter(pp, "itdRequest");
|
||||
|
||||
if (XmlPullUtil.test(pp, "serverMetaInfo"))
|
||||
XmlPullUtil.next(pp);
|
||||
|
||||
XmlPullUtil.enter(pp, "itdDepartureMonitorRequest");
|
||||
|
||||
if (!XmlPullUtil.test(pp, "itdOdv") || !"dm".equals(XmlPullUtil.attr(pp, "usage")))
|
||||
|
@ -899,6 +902,9 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
if (XmlPullUtil.test(pp, "itdTripOptions"))
|
||||
XmlPullUtil.next(pp);
|
||||
|
||||
if (XmlPullUtil.test(pp, "itdMessage"))
|
||||
XmlPullUtil.next(pp);
|
||||
|
||||
final Calendar plannedDepartureTime = new GregorianCalendar();
|
||||
plannedDepartureTime.setTimeZone(timeZone());
|
||||
final Calendar predictedDepartureTime = new GregorianCalendar();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue