jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] [JCLOUDS-850] Providing AzureTemplateBuilderLiveTest (#156)
Date Wed, 01 Apr 2015 12:59:56 GMT
> +
> +   public AzureTemplateBuilderLiveTest() {
> +      super();
> +
> +      provider = "azurecompute";
> +   }
> +
> +   @Override
> +   protected ProviderMetadata createProviderMetadata() {
> +      synchronized (this) {
> +         if (providerMeta == null) {
> +            providerMeta = new AzureComputeProviderMetadata();
> +         }
> +      }
> +      return providerMeta;
> +   }

Fair enough. Is the synchronization needed?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/156/files#r27566230
Mime
View raw message