mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 08:19:51 +00:00
Lines
This commit is contained in:
parent
373c02546f
commit
fbe11f222c
7 changed files with 60 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue