mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@397 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
72e07658ce
commit
51db8036e5
3 changed files with 8 additions and 2 deletions
|
@ -684,6 +684,8 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
return "IEN" + number;
|
||||
if (type.equals("CNL")) // CityNightLine
|
||||
return "ICNL" + number;
|
||||
if (type.equals("IR"))
|
||||
return "R" + number;
|
||||
if (type.equals("Zug"))
|
||||
return "R" + number;
|
||||
if (type.equals("ZUG"))
|
||||
|
@ -715,10 +717,10 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
if (type.equals("F"))
|
||||
return "FF" + number;
|
||||
|
||||
throw new IllegalStateException("cannot normalize type " + type + " line " + line);
|
||||
throw new IllegalStateException("cannot normalize type '" + type + "' number '" + number + "' line '" + line + "'");
|
||||
}
|
||||
|
||||
throw new IllegalStateException("cannot normalize line " + line);
|
||||
throw new IllegalStateException("cannot normalize line '" + line + "'");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue