docs: public Collection<? extends RepositoryResource> getAllResourcesWithDupes() throws RepositoryBackendException {
          Collection<RepositoryResource> resources = cycleThroughRepositoriesWithDupes(new RepositoryInvoker<RepositoryResource>() {
              @SuppressWarnings("unchecked")
              @Override
              public Collection<RepositoryResource> performActionOnRepository(RepositoryConnection connection) throws RepositoryBackendException {
                  return (Collection<RepositoryResource>) connection.getAllResourcesWithDupes();
              }
          });
          return resources;
      }