docs: protected Map<String, CmsResource> getResourcesByRelativePath(List<CmsResource> resources, String basePath) {
  
          Map<String, CmsResource> result = new HashMap<String, CmsResource>();
          for (CmsResource resource : resources) {
              String relativeSubPath = CmsStringUtil.getRelativeSubPath(basePath, resource.getRootPath());
              if (relativeSubPath != null) {
                  result.put(relativeSubPath, resource);
              }
          }
          return result;
      }