mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 16:59:50 +00:00
fixed connections from and to masts
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@310 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8bdd67dafa
commit
b04e80cbf2
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ public final class VbbProvider implements NetworkProvider
|
||||||
|
|
||||||
private static final String locationValue(final Location location)
|
private static final String locationValue(final Location location)
|
||||||
{
|
{
|
||||||
if (location.type == LocationType.STATION && location.id != 0)
|
if (location.type == LocationType.STATION && location.id >= 1000000)
|
||||||
return Integer.toString(location.id);
|
return Integer.toString(location.id);
|
||||||
else
|
else
|
||||||
return location.name;
|
return location.name;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue