docs: protected List<CmsResource> shrinkToFit(List<CmsResource> result, int maxSize, int explicitNumResults) {
  
          return shrinkToFit(result, explicitNumResults > 0 ? explicitNumResults : maxSize);
      }