Skip to content

Commit 9275acb

Browse files
committed
fix a typo in README.md
1 parent fa0720c commit 9275acb

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)