code: @Override
      public Set<EquivalenceDataIndex> stage2LoadNamespaceEquivalences()
              throws EquivalenceMapResolutionFailure {
  
          Set<EquivalenceDataIndex> equivalenceDataIndexSet =
                  new HashSet<EquivalenceDataIndex>();
  
          Index resourceIndex = ResourceIndex.INSTANCE.getIndex();
  
          if (hasItems(resourceIndex.getEquivalenceResources())) {
              for (Equivalence eqResource : resourceIndex
                      .getEquivalenceResources()) {
                  String eqLocation = eqResource.getResourceLocation();
                  try {
                      ResolvedResource resolved = cache.resolveResource(
                              ResourceType.EQUIVALENCES,
                              eqLocation);
  
                      DataFileIndex equivalenceIndex = equivalenceIndexerService
                              .indexEquivalence(eqLocation,
                                      resolved.getCacheResourceCopy());
  
                      equivalenceDataIndexSet.add(new EquivalenceDataIndex(
                              eqResource.getNamespaceResourceLocation()
                                      .getResourceLocation(), equivalenceIndex));
                  } catch (ResourceDownloadError e) {
                      error("Unable to load equivalence resource for location: "
                              + eqLocation);
                  } catch (IndexingFailure e) {
                      error("Unable to load equivalence resource for location: "
                              + eqLocation);
                  }
              }
          }
  
          return equivalenceDataIndexSet;
      }
docs: {@inheritDoc}