{
Dependent tempD;
Provider tempP;
DependableFinder finder = null;
DependencyDescriptor depDesc = (DependencyDescriptor) depsIterator.next();
finder = depDesc.getDependentFinder();
tempD = (Dependent) finder.getDependable(dd, depDesc.getUUID() );
if (providerForList != null)
{
// Use the provider being passed in.
tempP = providerForList;
// Sanity check the object identifiers match.
if (SanityManager.DEBUG) {
if (!tempP.getObjectID().equals(depDesc.getProviderID()))
{
SanityManager.THROWASSERT("mismatch providers");
}
}
}
else
{
finder = depDesc.getProviderFinder();
tempP = (Provider) finder.getDependable(dd, depDesc.getProviderID() );
}
depsIterator.set(new BasicDependency(tempD, tempP));
}