diff --git a/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java b/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java index 5ce59c5e05..07cbf585c4 100644 --- a/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java +++ b/core/src/main/java/org/jclouds/osgi/MetadataBundleListener.java @@ -91,7 +91,7 @@ public class MetadataBundleListener implements BundleListener { providerMetadata = providerMetadataMap.get(event.getBundle().getBundleId()); apiMetadata = apiMetadataMap.get(event.getBundle().getBundleId()); if (providerMetadata != null) { - ProviderRegistry.uRegisterProvider(providerMetadata); + ProviderRegistry.unregisterProvider(providerMetadata); } if (apiMetadata != null) { ApiRegistry.unRegisterApi(apiMetadata); diff --git a/core/src/main/java/org/jclouds/providers/ProviderRegistry.java b/core/src/main/java/org/jclouds/providers/ProviderRegistry.java index ef96bf35b6..b79741e0ec 100644 --- a/core/src/main/java/org/jclouds/providers/ProviderRegistry.java +++ b/core/src/main/java/org/jclouds/providers/ProviderRegistry.java @@ -32,7 +32,7 @@ public class ProviderRegistry { providers.add(provider); } - public static void uRegisterProvider(ProviderMetadata provider) { + public static void unregisterProvider(ProviderMetadata provider) { providers.remove(provider); }