mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-09 11:18:47 +00:00
fixed ambiguous check if station identified by name only
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@562 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
dfe99ab68d
commit
cd5d382da4
1 changed files with 4 additions and 0 deletions
|
@ -288,7 +288,11 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
}
|
||||
|
||||
if (location.name != null)
|
||||
{
|
||||
uri.append("&REQ0JourneyStops").append(paramSuffix).append("G=").append(ParserUtils.urlEncode(location.name));
|
||||
if (location.type != LocationType.ANY)
|
||||
uri.append('!');
|
||||
}
|
||||
}
|
||||
|
||||
private static final int locationTypeValue(final Location location)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue