Fix formatting of generateMD5BufferingIfNotRepeatable call.

This commit is contained in:
Phil Hagelberg 2010-07-13 17:00:13 -07:00
parent 2ad5df1d3c
commit 3db58174bd
1 changed files with 5 additions and 3 deletions

View File

@ -284,8 +284,10 @@ note that this implies rebuffering, if the blob's payload isn't repeatable"
(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)
(-> (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)))