mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-09 23:58:49 +00:00
Migrate location IDs from int to String.
This commit is contained in:
parent
069686c746
commit
d8f3dcaf6c
111 changed files with 678 additions and 677 deletions
|
@ -46,10 +46,10 @@ public class TripController
|
|||
@ResponseBody
|
||||
public QueryTripsResult trip(@RequestParam(value = "fromType", required = false, defaultValue = "ANY") final LocationType fromType,
|
||||
@RequestParam(value = "from", required = false) final String from,
|
||||
@RequestParam(value = "fromId", required = false, defaultValue = "0") final int fromId,
|
||||
@RequestParam(value = "fromId", required = false) final String fromId,
|
||||
@RequestParam(value = "toType", required = false, defaultValue = "ANY") final LocationType toType,
|
||||
@RequestParam(value = "to", required = false) final String to,
|
||||
@RequestParam(value = "toId", required = false, defaultValue = "0") final int toId) throws IOException
|
||||
@RequestParam(value = "toId", required = false) final String toId) throws IOException
|
||||
{
|
||||
final Location fromLocation = new Location(fromType, fromId, null, from);
|
||||
final Location toLocation = new Location(toType, toId, null, to);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue