mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 00:50:31 +00:00
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:
parent
1bfd8ffc12
commit
5ec0a4b4a7
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue