From bc234e0b92eb80dda4ff15dbb844ebc15307cb29 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 12 Apr 2010 21:17:46 -0700 Subject: [PATCH] fixed DI bug --- .../config/HostingDotComVCloudComputeServiceContextModule.java | 3 --- .../config/TerremarkVCloudComputeServiceContextModule.java | 2 -- 2 files changed, 5 deletions(-) diff --git a/vcloud/hostingdotcom/src/main/java/org/jclouds/vcloud/hostingdotcom/compute/config/HostingDotComVCloudComputeServiceContextModule.java b/vcloud/hostingdotcom/src/main/java/org/jclouds/vcloud/hostingdotcom/compute/config/HostingDotComVCloudComputeServiceContextModule.java index 96262f5777..744862ca4e 100755 --- a/vcloud/hostingdotcom/src/main/java/org/jclouds/vcloud/hostingdotcom/compute/config/HostingDotComVCloudComputeServiceContextModule.java +++ b/vcloud/hostingdotcom/src/main/java/org/jclouds/vcloud/hostingdotcom/compute/config/HostingDotComVCloudComputeServiceContextModule.java @@ -31,8 +31,6 @@ import org.jclouds.vcloud.compute.VCloudComputeClient; import org.jclouds.vcloud.compute.config.VCloudComputeServiceContextModule; import org.jclouds.vcloud.hostingdotcom.compute.HostingDotComVCloudComputeClient; -import com.google.inject.Provides; - /** * Configures the {@link HostingDotComVCloudComputeServiceContext}; requires * {@link HostingDotComVCloudComputeClient} bound. @@ -49,7 +47,6 @@ public class HostingDotComVCloudComputeServiceContextModule extends } @Override - @Provides protected TemplateBuilder provideTemplate(Map locations, Map images, Map sizes, Location defaultLocation) { diff --git a/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/compute/config/TerremarkVCloudComputeServiceContextModule.java b/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/compute/config/TerremarkVCloudComputeServiceContextModule.java index 7e148fe2d6..04ed6dc9e1 100755 --- a/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/compute/config/TerremarkVCloudComputeServiceContextModule.java +++ b/vcloud/terremark/src/main/java/org/jclouds/vcloud/terremark/compute/config/TerremarkVCloudComputeServiceContextModule.java @@ -63,7 +63,6 @@ import com.google.common.collect.Iterables; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.google.common.util.concurrent.ListenableFuture; -import com.google.inject.Provides; /** * Configures the {@link TerremarkVCloudComputeServiceContext}; requires @@ -80,7 +79,6 @@ public class TerremarkVCloudComputeServiceContextModule extends VCloudComputeSer } @Override - @Provides protected TemplateBuilder provideTemplate(Map locations, Map images, Map sizes, Location defaultLocation) {