mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +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
|
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)
|
public static Product fromCode(char code)
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@ public enum Product
|
||||||
else if (code == 'R')
|
else if (code == 'R')
|
||||||
return Product.REGIONAL_TRAIN;
|
return Product.REGIONAL_TRAIN;
|
||||||
else if (code == 'S')
|
else if (code == 'S')
|
||||||
return Product.URBAN_TRAIN;
|
return Product.SUBURBAN_TRAIN;
|
||||||
else if (code == 'U')
|
else if (code == 'U')
|
||||||
return Product.SUBWAY;
|
return Product.SUBWAY;
|
||||||
else if (code == 'T')
|
else if (code == 'T')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue