mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 02:28:47 +00:00
fixed url
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@854 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
0ca5c50af7
commit
8c8f6fad2b
1 changed files with 2 additions and 2 deletions
|
@ -112,9 +112,9 @@ public class DsbProvider extends AbstractHafasProvider
|
|||
{
|
||||
final StringBuilder uri = new StringBuilder(String.format(NEARBY_STATIONS_BY_COORDINATE_URI, location.lon, location.lat));
|
||||
if (maxStations != 0)
|
||||
uri.append("maxNumber=").append(maxStations);
|
||||
uri.append("&maxNumber=").append(maxStations);
|
||||
if (maxDistance != 0)
|
||||
uri.append("maxRadius=").append(maxDistance);
|
||||
uri.append("&maxRadius=").append(maxDistance);
|
||||
|
||||
final List<Location> locations = xmlLocationList(uri.toString());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue