Skip to content

Commit

Permalink
style: correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nblair committed Jan 29, 2020
1 parent d0ef86f commit b84e5db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Expand Up @@ -702,7 +702,8 @@ public static BlobWriteOption userProject(String userProject) {
}

/**
* Returns an option that signals automatic gzip compression should not be performed en route to the bucket.
* Returns an option that signals automatic gzip compression should not be performed en route to
* the bucket.
*/
public static BlobWriteOption disableGzipContent() {
return new BlobWriteOption(Option.IF_DISABLE_GZIP_CONTENT, true);
Expand Down
Expand Up @@ -750,10 +750,10 @@ public void testCreateBlobFromStreamDisableGzipContent() throws IOException {
BlobInfo infoWithHashes = infoBuilder.setMd5(CONTENT_MD5).setCrc32c(CONTENT_CRC32C).build();
BlobInfo infoWithoutHashes = infoBuilder.setMd5(null).setCrc32c(null).build();
EasyMock.expect(
storageRpcMock.create(
EasyMock.eq(infoWithoutHashes.toPb()),
EasyMock.capture(capturedStream),
EasyMock.eq(BLOB_TARGET_OPTIONS_CREATE_DISABLE_GZIP_CONTENT)))
storageRpcMock.create(
EasyMock.eq(infoWithoutHashes.toPb()),
EasyMock.capture(capturedStream),
EasyMock.eq(BLOB_TARGET_OPTIONS_CREATE_DISABLE_GZIP_CONTENT)))
.andReturn(BLOB_INFO1.toPb());
EasyMock.replay(storageRpcMock);
initializeService();
Expand Down

0 comments on commit b84e5db

Please sign in to comment.