cleanup of various normalizeType/normalizeLine methods

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@631 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach@gmail.com 2011-05-08 23:15:02 +00:00
parent 76c9ba2edd
commit f5a7ca06dd
13 changed files with 257 additions and 455 deletions

View file

@ -206,12 +206,6 @@ public class SncbProvider extends AbstractHafasProvider
{
final String ucType = type.toUpperCase();
final char t = normalizeCommonTypes(ucType);
if (t != 0)
return t;
if (ucType.equals("EST")) // Eurostar Frankreich
return 'I';
if (ucType.equals("INT")) // Zürich-Brüssel
return 'I';
@ -229,6 +223,10 @@ public class SncbProvider extends AbstractHafasProvider
if (ucType.equals("MÉT"))
return 'U';
final char t = super.normalizeType(type);
if (t != 0)
return t;
return 0;
}
}