Looking at the code - I think the behaviour of the clientInstallationService.findInstallationsByVariant() should be:
-
return NULL, when the variant for the given variantID does NOT exist; have that result in 404
-
return Collections.EMPTY_LIST, when there are no more pages
|