code: public void resolveReferences() throws RepositoryException {
          if (resolveFutures.isEmpty()) return;
  
          List<ResolveFuture> futures = resolveFutures;
          resolveFutures = new LinkedList<ResolveFuture>();
          for (ResolveFuture future : futures) {
              future.resolve(); // anything not resolved goes back on the new 'resolvedFutures' list ...
          }
      }
docs: Attempt to resolve any references that remain unresolved. This should be called if sharing a
  {@link org.modeshape.sequencer.sramp.SymbolSpaceResolvers} with multiple {@link AbstractResolvingReader} instances.
  
  @throws RepositoryException if there is a problem resolving references in the repository