Skip to content

Commit 20002b1

Browse files
committed
---
yaml --- r: 6289 b: refs/heads/tswast-patch-1 c: fd333a9 h: refs/heads/master i: 6287: 6526604
1 parent 2e1dd51 commit 20002b1

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 264a8ae9db49f15445a3466553bf94d0e89bf0bd
60+
refs/heads/tswast-patch-1: fd333a922833b82b6996365ac32cd350e692d0f1
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Storage.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,14 @@ public static Builder builder() {
616616
*/
617617
boolean delete(BlobId blob, BlobSourceOption... options);
618618

619+
/**
620+
* Delete the requested blob.
621+
*
622+
* @return true if blob was deleted
623+
* @throws StorageException upon failure
624+
*/
625+
boolean delete(BlobId blob);
626+
619627
/**
620628
* Send a compose request.
621629
*

branches/tswast-patch-1/gcloud-java-storage/src/main/java/com/google/gcloud/storage/StorageImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,11 @@ public Boolean call() {
402402
}
403403
}
404404

405+
@Override
406+
public boolean delete(BlobId blob) {
407+
return delete(blob, new BlobSourceOption[0]);
408+
}
409+
405410
@Override
406411
public BlobInfo compose(final ComposeRequest composeRequest) {
407412
final List<StorageObject> sources =

0 commit comments

Comments
 (0)