code: 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;
      }
docs: This method gets all the resources in this list of repositories, this list may contain dupes if the same
  asset is found in multiple repositories.
  
  @return A {@link Collection} of {@link RepositoryResourceImpl} object
  @throws RepositoryBackendException