From 0c9b49baf5aba8b39a350f6137db07c9258eef12 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 6 Oct 2014 16:21:08 -0700 Subject: [PATCH] JCLOUDS-40 unasync Fallback. --- .../jclouds/googlecloudstorage/fallback/GCSFallbacks.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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;