Visitar URL original
Merge pull request #1604 from neozwu/fix-readme-typo · googleapis/google-cloud-java@1667b50 · GitHub
Skip to content

Commit 1667b50

Browse files
authored
Merge pull request #1604 from neozwu/fix-readme-typo
fix a typo in README.md
2 parents fa0720c + 9275acb commit 1667b50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ import com.google.cloud.storage.StorageOptions;
372372
373373
Storage storage = StorageOptions.getDefaultInstance().getService();
374374
BlobId blobId = BlobId.of("bucket", "blob_name");
375-
BlobInfo blobInfo = BlobInfo.newBuiler(blobId).setContentType("text/plain").build();
375+
BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType("text/plain").build();
376376
Blob blob = storage.create(blobInfo, "Hello, Cloud Storage!".getBytes(UTF_8));
377377
```
378378
The second snippet shows how to update a Storage blob if it exists. Complete source code can be

0 commit comments

Comments
 (0)