one more line

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@320 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-10-23 14:41:27 +00:00
parent 62b992a805
commit f3c0a54272

View file

@ -390,6 +390,8 @@ public abstract class AbstractEfaProvider implements NetworkProvider
return 'R' + str;
if (type.equals("Bahn"))
return 'R' + str;
if (type.equals("Regionalbahn"))
return 'R' + str;
if (type.equals("D")) // Schnellzug
return 'R' + str;
if (type.equals("S")) // ~Innsbruck
@ -607,7 +609,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
if (P_LINE_NUMBER.matcher(type).matches())
return "?";
throw new IllegalArgumentException("cannot normalize: long '" + longName + "' type '" + type + "'");
throw new IllegalArgumentException("cannot normalize: long '" + longName + "' type '" + type + "' str '" + str + "'");
}
if (t == 1)