Remove unnecessary code to register the compute extensions

This commit is contained in:
Ignasi Barrera 2015-11-27 09:40:45 +01:00
parent 1ac6fa8426
commit 62f1c0bc9a
1 changed files with 0 additions and 7 deletions

View File

@ -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,