line A (fixed)

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@827 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-10-15 21:05:32 +00:00
parent 82acc92247
commit 442cab8fe8
2 changed files with 3 additions and 3 deletions

View file

@ -1394,6 +1394,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
return 'I'; return 'I';
if ("EM".equals(ucType)) // Euromed, Barcelona-Alicante, Spanien if ("EM".equals(ucType)) // Euromed, Barcelona-Alicante, Spanien
return 'I'; return 'I';
if ("A".equals(ucType)) // Spain, Highspeed
return 'I';
if ("AVE".equals(ucType)) // Alta Velocidad Española, Spanien if ("AVE".equals(ucType)) // Alta Velocidad Española, Spanien
return 'I'; return 'I';
if ("ARC".equals(ucType)) // Arco (Renfe), Spanien if ("ARC".equals(ucType)) // Arco (Renfe), Spanien
@ -1785,6 +1787,7 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
protected static final Pattern P_NORMALIZE_LINE_AND_TYPE = Pattern.compile("([^#]*)#(.*)"); protected static final Pattern P_NORMALIZE_LINE_AND_TYPE = Pattern.compile("([^#]*)#(.*)");
private static final Pattern P_NORMALIZE_LINE_NUMBER = Pattern.compile("\\d{2,5}"); private static final Pattern P_NORMALIZE_LINE_NUMBER = Pattern.compile("\\d{2,5}");
// saved from RtProvider // saved from RtProvider
// private static final Pattern P_NORMALIZE_LINE_RUSSIA = Pattern.compile("(\\d{3}(BJ|FJ|IJ|MJ|NJ|OJ|TJ|SZ))"); // private static final Pattern P_NORMALIZE_LINE_RUSSIA = Pattern.compile("(\\d{3}(BJ|FJ|IJ|MJ|NJ|OJ|TJ|SZ))");

View file

@ -546,9 +546,6 @@ public final class BahnProvider extends AbstractHafasProvider
{ {
final String ucType = type.toUpperCase(); final String ucType = type.toUpperCase();
if ("A".equals(ucType)) // Spain, Highspeed
return 'I';
if ("RNV".equals(ucType)) if ("RNV".equals(ucType))
return 'R'; return 'R';
if ("DZ".equals(ucType)) // Dampfzug if ("DZ".equals(ucType)) // Dampfzug