algolia / algoliasearch-client-java

⚡️ A fully-featured and blazing-fast Java API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/java/
MIT License
46 stars 33 forks source link

List could be empty #748

Closed uriofferup closed 3 years ago

uriofferup commented 3 years ago

https://github.com/algolia/algoliasearch-client-java-2/blob/e36c48fc540e9218210a0858c4b39d04ebef315f/algoliasearch-core/src/main/java/com/algolia/search/util/QueryStringUtils.java#L72

If an empty list is sent then causes java.lang.IndexOutOfBoundsException in that line.