Repository: jclouds-labs-google
Updated Branches:
  refs/heads/1.8.x 4e068d59c -> f85fbee9a


JCLOUDS-40 unasync Fallback.


Project: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/commit/f85fbee9
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/tree/f85fbee9
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/diff/f85fbee9

Branch: refs/heads/1.8.x
Commit: f85fbee9a644f569521af90936f4428c205e3ca3
Parents: 4e068d5
Author: Adrian Cole <[email protected]>
Authored: Mon Oct 6 16:21:08 2014 -0700
Committer: Adrian Cole <[email protected]>
Committed: Mon Oct 6 16:21:51 2014 -0700

----------------------------------------------------------------------
 .../org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/blob/f85fbee9/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java
----------------------------------------------------------------------
diff --git 
a/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java
 
b/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java
index fe3f309..88e24ca 100644
--- 
a/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/fallback/GCSFallbacks.java
+++ 
b/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<Object> {
-      public ListenableFuture<Object> create(Throwable t) throws Exception {
-         return immediateFuture(createOrPropagate(t));
-      }
-
       public Object createOrPropagate(Throwable t) throws Exception {
          if (checkNotNull(t, "throwable") instanceof IllegalStateException) {
             return null;

Reply via email to