mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 00:09:55 +00:00
replace strange '$XINT$' tokens in location names of San Francisco
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@605 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
dc0f0ea8cc
commit
e26eff18c2
2 changed files with 13 additions and 4 deletions
|
@ -913,7 +913,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
return 'R' + name;
|
||||
if ("CAPITOL".equals(name)) // San Francisco
|
||||
return 'R' + name;
|
||||
if ("Train".equals(noTrainName)) // San Francisco
|
||||
if ("Train".equals(noTrainName) || "Train".equals(type)) // San Francisco
|
||||
return "R" + name;
|
||||
if ("Regional Train :".equals(longName))
|
||||
return "R";
|
||||
|
@ -1271,7 +1271,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
|
||||
private static final Pattern P_STATION_NAME_WHITESPACE = Pattern.compile("\\s+");
|
||||
|
||||
protected static String normalizeLocationName(final String name)
|
||||
protected String normalizeLocationName(final String name)
|
||||
{
|
||||
if (name == null || name.length() == 0)
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue