This commit is contained in:
Andreas Schildbach 2013-12-06 16:13:34 +01:00
parent 373c02546f
commit fbe11f222c
7 changed files with 60 additions and 3 deletions

View file

@ -25,6 +25,7 @@ import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import de.schildbach.pte.dto.Line;
import de.schildbach.pte.dto.Location;
import de.schildbach.pte.dto.LocationType;
import de.schildbach.pte.dto.NearbyStationsResult;
@ -198,4 +199,13 @@ public class VbbProvider extends AbstractHafasProvider
{
return queryMoreTripsBinary(contextObj, later, numTrips);
}
@Override
protected Line parseLineAndType(final String lineAndType)
{
if ("X#".equals(lineAndType))
return newLine('?', "X", null);
else
return super.parseLineAndType(lineAndType);
}
}