docs: private Set<String> getBucketsForPath(String path) {
  
          Set<String> result = Sets.newHashSet();
          boolean foundBucket = false;
          for (int i = 0; i < m_bucketNames.size(); i++) {
              for (String bucketPath : m_bucketPathLists.get(i)) {
                  if (CmsStringUtil.isPrefixPath(bucketPath, path)) {
                      String bucketName = m_bucketNames.get(i);
                      result.add(bucketName);
                      if (!BUCKET_OTHER.equals(bucketName)) {
                          foundBucket = true;
                      }
                  }
              }
          }
          if (!foundBucket) {
              result.add(BUCKET_OTHER);
          }
          return result;
      }