mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 01:10:02 +00:00
more lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@658 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
7b5f1afd03
commit
5d6d496a35
6 changed files with 26 additions and 26 deletions
|
@ -206,31 +206,33 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
{
|
||||
final String ucType = type.toUpperCase();
|
||||
|
||||
if (ucType.equals("INT")) // Zürich-Brüssel
|
||||
if ("INT".equals(ucType)) // Zürich-Brüssel
|
||||
return 'I';
|
||||
if (ucType.startsWith("IC "))
|
||||
if ("IC ".startsWith(ucType))
|
||||
return 'I';
|
||||
if ("THA".equals(ucType)) // Thalys
|
||||
return 'I';
|
||||
|
||||
if (ucType.startsWith("IR "))
|
||||
if ("IR ".startsWith(ucType))
|
||||
return 'R';
|
||||
|
||||
if (ucType.equals("L"))
|
||||
if ("L".equals(ucType))
|
||||
return 'R';
|
||||
if (ucType.equals("P"))
|
||||
if ("P".equals(ucType))
|
||||
return 'R';
|
||||
if (ucType.equals("CR"))
|
||||
if ("CR".equals(ucType))
|
||||
return 'R';
|
||||
if (ucType.equals("ICT")) // Brügge
|
||||
if ("ICT".equals(ucType)) // Brügge
|
||||
return 'R';
|
||||
if (ucType.equals("TRN")) // Mons
|
||||
if ("TRN".equals(ucType)) // Mons
|
||||
return 'R';
|
||||
|
||||
if (ucType.equals("MÉT"))
|
||||
if ("MÉT".equals(ucType))
|
||||
return 'U';
|
||||
if (ucType.equals("MÉTRO"))
|
||||
if ("MÉTRO".equals(ucType))
|
||||
return 'U';
|
||||
|
||||
if (ucType.equals("TRAMWAY"))
|
||||
if ("TRAMWAY".equals(ucType))
|
||||
return 'T';
|
||||
|
||||
final char t = super.normalizeType(type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue