mirror of https://github.com/apache/jclouds.git
Correct typo
This commit is contained in:
parent
81d454b943
commit
980f469679
|
@ -91,7 +91,7 @@ public class MetadataBundleListener implements BundleListener {
|
||||||
providerMetadata = providerMetadataMap.get(event.getBundle().getBundleId());
|
providerMetadata = providerMetadataMap.get(event.getBundle().getBundleId());
|
||||||
apiMetadata = apiMetadataMap.get(event.getBundle().getBundleId());
|
apiMetadata = apiMetadataMap.get(event.getBundle().getBundleId());
|
||||||
if (providerMetadata != null) {
|
if (providerMetadata != null) {
|
||||||
ProviderRegistry.uRegisterProvider(providerMetadata);
|
ProviderRegistry.unregisterProvider(providerMetadata);
|
||||||
}
|
}
|
||||||
if (apiMetadata != null) {
|
if (apiMetadata != null) {
|
||||||
ApiRegistry.unRegisterApi(apiMetadata);
|
ApiRegistry.unRegisterApi(apiMetadata);
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class ProviderRegistry {
|
||||||
providers.add(provider);
|
providers.add(provider);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void uRegisterProvider(ProviderMetadata provider) {
|
public static void unregisterProvider(ProviderMetadata provider) {
|
||||||
providers.remove(provider);
|
providers.remove(provider);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue