mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 00:50:31 +00:00
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:
parent
82acc92247
commit
442cab8fe8
2 changed files with 3 additions and 3 deletions
|
@ -1394,6 +1394,8 @@ public abstract class AbstractHafasProvider extends AbstractNetworkProvider
|
|||
return 'I';
|
||||
if ("EM".equals(ucType)) // Euromed, Barcelona-Alicante, Spanien
|
||||
return 'I';
|
||||
if ("A".equals(ucType)) // Spain, Highspeed
|
||||
return 'I';
|
||||
if ("AVE".equals(ucType)) // Alta Velocidad Española, Spanien
|
||||
return 'I';
|
||||
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("([^#]*)#(.*)");
|
||||
private static final Pattern P_NORMALIZE_LINE_NUMBER = Pattern.compile("\\d{2,5}");
|
||||
|
||||
// saved from RtProvider
|
||||
// private static final Pattern P_NORMALIZE_LINE_RUSSIA = Pattern.compile("(\\d{3}(BJ|FJ|IJ|MJ|NJ|OJ|TJ|SZ))");
|
||||
|
||||
|
|
|
@ -546,9 +546,6 @@ public final class BahnProvider extends AbstractHafasProvider
|
|||
{
|
||||
final String ucType = type.toUpperCase();
|
||||
|
||||
if ("A".equals(ucType)) // Spain, Highspeed
|
||||
return 'I';
|
||||
|
||||
if ("RNV".equals(ucType))
|
||||
return 'R';
|
||||
if ("DZ".equals(ucType)) // Dampfzug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue