mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 08:40:29 +00:00
NetworkProvider: Add types parameter to suggestLocations().
This commit is contained in:
parent
0ea83a1ad3
commit
8e52035ce5
11 changed files with 70 additions and 57 deletions
|
@ -196,9 +196,9 @@ public abstract class AbstractHafasClientInterfaceProvider extends AbstractHafas
|
|||
}
|
||||
|
||||
@Override
|
||||
public SuggestLocationsResult suggestLocations(final CharSequence constraint, final int maxLocations)
|
||||
throws IOException {
|
||||
return jsonLocMatch(constraint, null, maxLocations);
|
||||
public SuggestLocationsResult suggestLocations(final CharSequence constraint,
|
||||
final @Nullable Set<LocationType> types, final int maxLocations) throws IOException {
|
||||
return jsonLocMatch(constraint, types, maxLocations);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue