mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
fixed parsing of lots of lines
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@685 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8b79adddc6
commit
0387eebafb
1 changed files with 3 additions and 3 deletions
|
@ -212,12 +212,12 @@ public class SncbProvider extends AbstractHafasProvider
|
|||
|
||||
if ("INT".equals(ucType)) // Zürich-Brüssel
|
||||
return 'I';
|
||||
if ("IC ".startsWith(ucType))
|
||||
if (ucType.startsWith("IC "))
|
||||
return 'I';
|
||||
if ("THA".equals(ucType)) // Thalys
|
||||
if ("THALYS".equals(ucType)) // Thalys
|
||||
return 'I';
|
||||
|
||||
if ("IR ".startsWith(ucType))
|
||||
if (ucType.startsWith("IR "))
|
||||
return 'R';
|
||||
|
||||
if ("L".equals(ucType))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue