From 3db58174bd2bfe35ca490b3e7ffb7ffe2c425c7f Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Tue, 13 Jul 2010 17:00:13 -0700 Subject: [PATCH] Fix formatting of generateMD5BufferingIfNotRepeatable call. --- blobstore/src/main/clojure/org/jclouds/blobstore.clj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/blobstore/src/main/clojure/org/jclouds/blobstore.clj b/blobstore/src/main/clojure/org/jclouds/blobstore.clj index 00abc38fcc..9cd504b15d 100644 --- a/blobstore/src/main/clojure/org/jclouds/blobstore.clj +++ b/blobstore/src/main/clojure/org/jclouds/blobstore.clj @@ -283,9 +283,11 @@ note that this implies rebuffering, if the blob's payload isn't repeatable" ([#^Blob blob] (md5-blob *blobstore*)) ([blob-or-name blobstore-or-payload] - ( if (blobstore? blobstore-or-payload) - (.generateMD5BufferingIfNotRepeatable (.encryption (.utils (blobstore-context blobstore-or-payload))) - blob-or-name) + (if (blobstore? blobstore-or-payload) + (-> (blobstore-context blobstore-or-payload) + .utils + .encryption + .generateMD5BufferingIfNotRepeatable blob-or-name) (md5-blob blob-or-name blobstore-or-payload *blobstore*))) ([#^String name payload #^BlobStore blobstore] (md5-blob (blob name payload blobstore) blobstore)))