mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
line ---
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@808 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
c8fbfd3112
commit
e78feaf3a1
1 changed files with 3 additions and 1 deletions
|
@ -580,7 +580,6 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
@Override
|
||||
protected final String normalizeLine(final String line)
|
||||
{
|
||||
|
||||
if ("Schw-B".equals(line)) // Schwebebahn, gilt als "Straßenbahn besonderer Bauart"
|
||||
return 'T' + line;
|
||||
|
||||
|
@ -593,6 +592,9 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
if (P_LINE_NUMBER.matcher(line).matches())
|
||||
return "?" + line;
|
||||
|
||||
if ("---".equals(line))
|
||||
return "?" + line;
|
||||
|
||||
return super.normalizeLine(line);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue