commercetools / commercetools-jvm-sdk

The e-commerce SDK from commercetools running on the Java virtual machine.
https://commercetools.github.io/commercetools-jvm-sdk/apidocs/index.html
Other
62 stars 40 forks source link

PagedSearchResult.empty() missing #1662

Closed lauraluiz closed 6 years ago

lauraluiz commented 6 years ago

PagedQueryResult.empty() does exist, but not its "search" counterpart.

acbeni commented 6 years ago

@lauraluiz can describe what you mean by a search method?

lauraluiz commented 6 years ago

PagedSearchResult.empty() method does exist (https://github.com/commercetools/commercetools-jvm-sdk/blob/master/commercetools-sdk-base/src/main/java/io/sphere/sdk/queries/PagedQueryResult.java#L23), but we have no PagedQueryResult.empty() method. We should have it either on both sides or none (and I vote for both sides because it's useful to me).