JCLOUDS-457: Implementing getBlob without options
The missing getBlob implementation has been added.
diff --git a/glacier/src/main/java/org/jclouds/glacier/blobstore/GlacierBlobStore.java b/glacier/src/main/java/org/jclouds/glacier/blobstore/GlacierBlobStore.java
index 6a4ee09..ced398d 100644
--- a/glacier/src/main/java/org/jclouds/glacier/blobstore/GlacierBlobStore.java
+++ b/glacier/src/main/java/org/jclouds/glacier/blobstore/GlacierBlobStore.java
@@ -296,7 +296,7 @@
* container name
* @param key
* blob name
- * @return null if the blob doesn't exist or the archive retrieval fails, the blob otherwise
+ * @return The blob to retrieve, or null if the blob doesn't exist or the archive retrieval fails
*/
@Override
public Blob getBlob(String container, String key, GetOptions getOptions) {
@@ -318,6 +318,21 @@
}
/**
+ * Retrieves the blob using default options
+ * This operation will take several hours.
+ *
+ * @param container
+ * container name
+ * @param key
+ * blob name
+ * @return The blob to retrieve, or null if the blob doesn't exist or the archive retrieval fails
+ */
+ @Override
+ public Blob getBlob(String container, String key) {
+ return getBlob(container, key, null);
+ }
+
+ /**
* Deletes the blob.
*
* @param container