Skip to content

Commit eb7520b

Browse files
authored
Javadoc fixes for README and Samples (Azure#33799)
1 parent ddbad59 commit eb7520b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

sdk/storage/azure-storage-blob/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,18 @@ The following sections provide several code snippets covering some of the most c
180180
- [Upload data to a blob](#upload-data-to-a-blob)
181181
- [Upload a blob from a stream](#upload-a-blob-from-a-stream)
182182
- [Upload a blob from local path](#upload-a-blob-from-local-path)
183+
- [Upload a blob if one does not already exist](#upload-a-blob-if-one-does-not-already-exist)
184+
- [Upload a blob and overwrite if one already exists](#upload-a-blob-and-overwrite-if-one-already-exists)
185+
- [Upload a blob via an `OutputStream`](#upload-a-blob-via-an-outputstream)
183186
- [Download data from a blob](#download-data-from-a-blob)
184187
- [Download a blob to a stream](#download-a-blob-to-a-stream)
185188
- [Download a blob to local path](#download-a-blob-to-local-path)
189+
- [Read a blob via an `InputStream`](#read-a-blob-via-an-inputstream)
186190
- [Enumerate blobs](#enumerate-blobs)
187191
- [Copy a blob](#copy-a-blob)
192+
- [Generate a SAS token](#generate-a-sas-token)
188193
- [Authenticate with Azure Identity](#authenticate-with-azure-identity)
194+
- [Set a proxy when building a client](#set-a-proxy-when-building-a-client)
189195

190196
### Create a `BlobServiceClient`
191197

sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ReadmeSamples.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public void uploadDataToStorageBiggerThan4MB() {
220220
// BEGIN: readme-sample-uploadDataToStorageBiggerThan4MB
221221
byte[] data = "Hello, data sample!".getBytes(StandardCharsets.UTF_8);
222222

223-
long chunkSize = ShareFileAsyncClient.FILE_DEFAULT_BLOCK_SIZE;
223+
long chunkSize = 4 * 1024 * 1024L;
224224
if (data.length > chunkSize) {
225225
for (int offset = 0; offset < data.length; offset += chunkSize) {
226226
try {

0 commit comments

Comments
 (0)