You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2015/01/16 19:53:04 UTC
jclouds-labs-google git commit: JCLOUDS-805: return null w/
non-existent container
Repository: jclouds-labs-google
Updated Branches:
refs/heads/master 23eac1fdd -> d99a7d28d
JCLOUDS-805: return null w/ non-existent container
This matches the behavior of other blobstores and allows
deleteContainerIfEmptyWithoutContents to pass.
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/d99a7d28
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/tree/d99a7d28
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/diff/d99a7d28
Branch: refs/heads/master
Commit: d99a7d28d6359014492b82e092f090330a49868f
Parents: 23eac1f
Author: Andrew Gaul <ga...@apache.org>
Authored: Fri Jan 16 10:51:24 2015 -0800
Committer: Andrew Gaul <ga...@apache.org>
Committed: Fri Jan 16 10:51:24 2015 -0800
----------------------------------------------------------------------
.../java/org/jclouds/googlecloudstorage/features/ObjectApi.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/blob/d99a7d28/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java
----------------------------------------------------------------------
diff --git a/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java b/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java
index 919674f..c3224f5 100644
--- a/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java
+++ b/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/features/ObjectApi.java
@@ -230,6 +230,7 @@ public interface ObjectApi {
@GET
@Consumes(APPLICATION_JSON)
@Path("storage/v1/b/{bucket}/o")
+ @Fallback(NullOnNotFoundOr404.class)
ListPageWithPrefixes<GoogleCloudStorageObject> listObjects(@PathParam("bucket") String bucketName);
/**
@@ -245,6 +246,7 @@ public interface ObjectApi {
@GET
@Consumes(APPLICATION_JSON)
@Path("storage/v1/b/{bucket}/o")
+ @Fallback(NullOnNotFoundOr404.class)
ListPageWithPrefixes<GoogleCloudStorageObject> listObjects(@PathParam("bucket") String bucketName, ListObjectOptions options);
/**