Skip to content

Commit

Permalink
Merge pull request #591 from ajkannan/add-close-comment
Browse files Browse the repository at this point in the history
Document storage.create(BlobInfo, InputStream) closes InputStream
  • Loading branch information
mziccard committed Jan 28, 2016
2 parents c5f50e0 + f09410d commit 44a1533
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,8 @@ private static void checkContentType(BlobInfo blobInfo) throws IllegalArgumentEx
* Create a new blob. Direct upload is used to upload {@code content}. For large content,
* {@link #writer} is recommended as it uses resumable upload. By default any md5 and crc32c
* values in the given {@code blobInfo} are ignored unless requested via the
* {@code BlobWriteOption.md5Match} and {@code BlobWriteOption.crc32cMatch} options.
* {@code BlobWriteOption.md5Match} and {@code BlobWriteOption.crc32cMatch} options. The given
* input stream is closed upon success.
*
* @return a complete blob information
* @throws StorageException upon failure
Expand Down

0 comments on commit 44a1533

Please sign in to comment.