mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
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:
parent
76c9ba2edd
commit
f5a7ca06dd
13 changed files with 257 additions and 455 deletions
|
@ -140,9 +140,6 @@ public class DsbProvider extends AbstractHafasProvider
|
|||
if ("S-TOG".equals(ucType))
|
||||
return 'S';
|
||||
|
||||
if ("MET".equals(ucType))
|
||||
return 'U';
|
||||
|
||||
if ("BYBUS".equals(ucType))
|
||||
return 'B';
|
||||
if ("X-BUS".equals(ucType))
|
||||
|
@ -160,7 +157,7 @@ public class DsbProvider extends AbstractHafasProvider
|
|||
if ("FÆRGE".equals(ucType))
|
||||
return 'F';
|
||||
|
||||
final char t = normalizeCommonTypes(ucType);
|
||||
final char t = super.normalizeType(type);
|
||||
if (t != 0)
|
||||
return t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue