mirror of https://github.com/apache/jclouds.git
Remove unnecessary code to register the compute extensions
This commit is contained in:
parent
1ac6fa8426
commit
62f1c0bc9a
|
@ -57,9 +57,7 @@ import org.jclouds.domain.Location;
|
|||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
import com.google.common.base.Function;
|
||||
import com.google.common.base.Optional;
|
||||
import com.google.common.base.Predicate;
|
||||
import com.google.inject.Injector;
|
||||
import com.google.inject.Provides;
|
||||
import com.google.inject.TypeLiteral;
|
||||
import com.google.inject.name.Named;
|
||||
|
@ -99,11 +97,6 @@ public class DigitalOcean2ComputeServiceContextModule extends
|
|||
}).to(DigitalOcean2ImageExtension.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Optional<ImageExtension> provideImageExtension(Injector i) {
|
||||
return Optional.of(i.getInstance(ImageExtension.class));
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Named(TIMEOUT_NODE_RUNNING)
|
||||
protected Predicate<Integer> provideDropletRunningPredicate(final DigitalOcean2Api api, Timeouts timeouts,
|
||||
|
|
Loading…
Reference in New Issue