mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-16 17:39:49 +00:00
renamed urban train to suburban train
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@8 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
a5e75048a9
commit
1018c942de
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ package de.schildbach.pte;
|
|||
*/
|
||||
public enum Product
|
||||
{
|
||||
HIGH_SPEED_TRAIN, REGIONAL_TRAIN, URBAN_TRAIN, SUBWAY, TRAM, BUS, FERRY;
|
||||
HIGH_SPEED_TRAIN, REGIONAL_TRAIN, SUBURBAN_TRAIN, SUBWAY, TRAM, BUS, FERRY;
|
||||
|
||||
public static Product fromCode(char code)
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ public enum Product
|
|||
else if (code == 'R')
|
||||
return Product.REGIONAL_TRAIN;
|
||||
else if (code == 'S')
|
||||
return Product.URBAN_TRAIN;
|
||||
return Product.SUBURBAN_TRAIN;
|
||||
else if (code == 'U')
|
||||
return Product.SUBWAY;
|
||||
else if (code == 'T')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue