protected final void merge(@NotNull Set<LocalResourceRepository> visited,@NotNull ResourceType type,@NotNull SetMultimap<String,String> seenQualifiers,@NotNull ListMultimap<String,ResourceItem> result){
  if (visited.contains(this)) {
    return;
  }
  visited.add(this);
  doMerge(visited,type,seenQualifiers,result);
}

protected final void merge ( @ NotNull Set < LocalResourceRepository > visited , @ NotNull ResourceType type , @ NotNull SetMultimap < String , String > seenQualifiers , @ NotNull ListMultimap < String , ResourceItem > result ) { if ( visited . contains ( this ) ) { return ; } visited . add ( this ) ; doMerge ( visited , type , seenQualifiers , result ) ; }
if this repository has not already been visited , merge its items of the given type into result .
