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:
andreas.schildbach 2010-09-20 13:26:10 +00:00
parent 9f5e011511
commit 3e6d203324

View file

@ -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