mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 08:19:50 +00:00
fixed missing resolving of entities in line
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@170 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
9f5e011511
commit
3e6d203324
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
Date arrivalTime = ParserUtils.joinDateTime(currentDate, ParserUtils.parseTime(mConFine.group(3)));
|
||||
if (departureTime.after(arrivalTime))
|
||||
arrivalTime = ParserUtils.addDays(arrivalTime, 1);
|
||||
String line = mConFine.group(4);
|
||||
String line = ParserUtils.resolveEntities(mConFine.group(4));
|
||||
if (line != null && !line.contains(","))
|
||||
line = normalizeLine(line);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue