mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +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
|
@Override
|
||||||
protected final String normalizeLine(final String line)
|
protected final String normalizeLine(final String line)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ("Schw-B".equals(line)) // Schwebebahn, gilt als "Straßenbahn besonderer Bauart"
|
if ("Schw-B".equals(line)) // Schwebebahn, gilt als "Straßenbahn besonderer Bauart"
|
||||||
return 'T' + line;
|
return 'T' + line;
|
||||||
|
|
||||||
|
@ -593,6 +592,9 @@ public final class BahnProvider extends AbstractHafasProvider
|
||||||
if (P_LINE_NUMBER.matcher(line).matches())
|
if (P_LINE_NUMBER.matcher(line).matches())
|
||||||
return "?" + line;
|
return "?" + line;
|
||||||
|
|
||||||
|
if ("---".equals(line))
|
||||||
|
return "?" + line;
|
||||||
|
|
||||||
return super.normalizeLine(line);
|
return super.normalizeLine(line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue