fixed problem with S-Bahn in Hamburg

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@740 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-08-07 22:29:18 +00:00
parent 1bfd8ffc12
commit 5ec0a4b4a7

View file

@ -941,6 +941,9 @@ public abstract class AbstractEfaProvider implements NetworkProvider
return 'S' + str; return 'S' + str;
if ("A".equals(name) || "B".equals(name) || "C".equals(name)) // SES if ("A".equals(name) || "B".equals(name) || "C".equals(name)) // SES
return 'S' + str; return 'S' + str;
final Matcher m = P_LINE_S.matcher(name);
if (m.find())
return 'S' + m.group(1);
if (P_LINE_U.matcher(type).matches()) if (P_LINE_U.matcher(type).matches())
return 'U' + str; return 'U' + str;