mirror of https://github.com/apache/jclouds.git
fixed DI bug
This commit is contained in:
parent
a8bfa608f2
commit
bc234e0b92
|
@ -31,8 +31,6 @@ import org.jclouds.vcloud.compute.VCloudComputeClient;
|
||||||
import org.jclouds.vcloud.compute.config.VCloudComputeServiceContextModule;
|
import org.jclouds.vcloud.compute.config.VCloudComputeServiceContextModule;
|
||||||
import org.jclouds.vcloud.hostingdotcom.compute.HostingDotComVCloudComputeClient;
|
import org.jclouds.vcloud.hostingdotcom.compute.HostingDotComVCloudComputeClient;
|
||||||
|
|
||||||
import com.google.inject.Provides;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures the {@link HostingDotComVCloudComputeServiceContext}; requires
|
* Configures the {@link HostingDotComVCloudComputeServiceContext}; requires
|
||||||
* {@link HostingDotComVCloudComputeClient} bound.
|
* {@link HostingDotComVCloudComputeClient} bound.
|
||||||
|
@ -49,7 +47,6 @@ public class HostingDotComVCloudComputeServiceContextModule extends
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Provides
|
|
||||||
protected TemplateBuilder provideTemplate(Map<String, ? extends Location> locations,
|
protected TemplateBuilder provideTemplate(Map<String, ? extends Location> locations,
|
||||||
Map<String, ? extends Image> images, Map<String, ? extends Size> sizes,
|
Map<String, ? extends Image> images, Map<String, ? extends Size> sizes,
|
||||||
Location defaultLocation) {
|
Location defaultLocation) {
|
||||||
|
|
|
@ -63,7 +63,6 @@ import com.google.common.collect.Iterables;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
import com.google.common.collect.Sets;
|
import com.google.common.collect.Sets;
|
||||||
import com.google.common.util.concurrent.ListenableFuture;
|
import com.google.common.util.concurrent.ListenableFuture;
|
||||||
import com.google.inject.Provides;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configures the {@link TerremarkVCloudComputeServiceContext}; requires
|
* Configures the {@link TerremarkVCloudComputeServiceContext}; requires
|
||||||
|
@ -80,7 +79,6 @@ public class TerremarkVCloudComputeServiceContextModule extends VCloudComputeSer
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Provides
|
|
||||||
protected TemplateBuilder provideTemplate(Map<String, ? extends Location> locations,
|
protected TemplateBuilder provideTemplate(Map<String, ? extends Location> locations,
|
||||||
Map<String, ? extends Image> images, Map<String, ? extends Size> sizes,
|
Map<String, ? extends Image> images, Map<String, ? extends Size> sizes,
|
||||||
Location defaultLocation) {
|
Location defaultLocation) {
|
||||||
|
|
Loading…
Reference in New Issue