diff --git a/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java b/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java index fe3f309bb5..88e24ca778 100644 --- a/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java +++ b/providers/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java @@ -18,17 +18,12 @@ package org.jclouds.googlecloudstorage.fallback; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Throwables.propagate; -import static com.google.common.util.concurrent.Futures.immediateFuture; + import org.jclouds.Fallback; -import com.google.common.util.concurrent.ListenableFuture; public final class GCSFallbacks { public static final class NullOnBucketAlreadyExists implements Fallback { - public ListenableFuture create(Throwable t) throws Exception { - return immediateFuture(createOrPropagate(t)); - } - public Object createOrPropagate(Throwable t) throws Exception { if (checkNotNull(t, "throwable") instanceof IllegalStateException) { return null;