more lines

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@397 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2010-12-16 13:11:36 +00:00
parent 72e07658ce
commit 51db8036e5
3 changed files with 8 additions and 2 deletions

View file

@ -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