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:
andreas.schildbach@gmail.com 2011-06-08 22:17:48 +00:00
parent 8b79adddc6
commit 0387eebafb

View file

@ -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))