/** * Registers every factories from the specified provider for the given category. */ private <T> void register(final FactoryIteratorProvider provider, final Class<T> category) { final Iterator<T> it = provider.iterator(category); if (it != null) { final StringBuilder message = getLogHeader(category); if (register(it, category, message)) { log("synchronizeIteratorProviders", message); } } }
final Iterator it = fip[i].iterator(category); if (it != null) { newServices |= register(it, category, message);
final Iterator it = provider.iterator(category); if (it != null) { final StringBuffer message = getLogHeader(category);
final Iterator<T> it = fip[i].iterator(category); if (it != null) { newServices |= register(it, category, message);