parse 'transfer' line type

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@550 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-04-05 13:14:41 +00:00
parent 393913f674
commit b4ffd39c0b

View file

@ -453,7 +453,7 @@ public class OebbProvider extends AbstractHafasProvider
ParserUtils.parseEuropeanTime(time, mDetFine.group(11)); ParserUtils.parseEuropeanTime(time, mDetFine.group(11));
final Date detailsArrivalTime = time.getTime(); final Date detailsArrivalTime = time.getTime();
if (!lineType.equals("fuss")) if (!("fuss".equals(lineType) || "transfer".equals(lineType)))
{ {
if (departureId == 0) if (departureId == 0)
throw new IllegalStateException("departureId"); throw new IllegalStateException("departureId");