mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 04:19:51 +00:00
AbstractHafasLegacyProvider: Fix an id equals check.
This commit is contained in:
parent
2cb344495e
commit
1aa2fd98c4
1 changed files with 1 additions and 1 deletions
|
@ -1052,7 +1052,7 @@ public abstract class AbstractHafasLegacyProvider extends AbstractHafasProvider
|
||||||
while (XmlPullUtil.test(pp, "StAttrList"))
|
while (XmlPullUtil.test(pp, "StAttrList"))
|
||||||
XmlPullUtil.next(pp);
|
XmlPullUtil.next(pp);
|
||||||
final Location location = parseLocation(pp);
|
final Location location = parseLocation(pp);
|
||||||
if (location.id != sectionDepartureLocation.id) {
|
if (location.id.equals(sectionDepartureLocation.id)) {
|
||||||
Date stopArrivalTime = null;
|
Date stopArrivalTime = null;
|
||||||
Date stopDepartureTime = null;
|
Date stopDepartureTime = null;
|
||||||
Position stopArrivalPosition = null;
|
Position stopArrivalPosition = null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue