Rename param.
@@ -71,11 +71,11 @@ public class Activator implements BundleActivator, SynchronousBundleListener {
}
}
- private void loadProvider(final BundleWiring provider) {
- ProviderUtil.loadProviders(provider.getClassLoader());
- final List<URL> urls = provider.findEntries("META-INF", "log4j-provider.properties", 0);
+ private void loadProvider(final BundleWiring bundleWiring) {
+ ProviderUtil.loadProviders(bundleWiring.getClassLoader());
+ final List<URL> urls = bundleWiring.findEntries("META-INF", "log4j-provider.properties", 0);
for (final URL url : urls) {
- ProviderUtil.loadProvider(url, provider.getClassLoader());
+ ProviderUtil.loadProvider(url, bundleWiring.getClassLoader());
}
}
