Skip to content

Commit 7ebe16f

Browse files
authored
fixing cspell spelling errors in storage packages (Azure#31729)
1 parent 7c7a112 commit 7ebe16f

File tree

11 files changed

+60
-19
lines changed

11 files changed

+60
-19
lines changed

.vscode/cspell.json

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,7 @@
223223
"sdk/spring-experimental/spring-cloud-azure-native-configuration/**",
224224
"sdk/spring/spring-messaging-azure-servicebus/**",
225225
"sdk/spring/spring-messaging-azure-eventhubs/**",
226-
"sdk/storage/azure-storage-blob-batch/**",
227-
"sdk/storage/azure-storage-blob-changefeed/**",
228226
"sdk/storage/azure-storage-internal-avro/**",
229-
"sdk/storage/azure-storage-common/**",
230-
"sdk/storage/azure-storage-blob-cryptography/**",
231227
"sdk/storage/azure-storage-queue/**",
232228
"sdk/synapse/azure-analytics-synapse-accesscontrol/**",
233229
"sdk/synapse/azure-analytics-synapse-managedprivateendpoints/**",
@@ -248,7 +244,6 @@
248244
"sdk/tables/azure-data-tables/**",
249245
"sdk/textanalytics/azure-ai-textanalytics/**",
250246
"sdk/storage/azure-storage-file-datalake/**",
251-
"sdk/storage/azure-storage-blob/**",
252247
"sdk/eventhubs/azure-messaging-eventhubs-stress/**",
253248
"sdk/jdbc/azure-identity-providers-jdbc-mysql/**",
254249
"sdk/jdbc/azure-identity-providers-jdbc-postgresql/**",
@@ -283,8 +278,10 @@
283278
"createorupdate",
284279
"creds",
285280
"credscan",
281+
"curr",
286282
"databind",
287283
"databricks",
284+
"DAZURE",
288285
"ddos",
289286
"deallocate",
290287
"decryptor",
@@ -303,6 +300,7 @@
303300
"eventhub",
304301
"eventhubs",
305302
"filereports",
303+
"gapra",
306304
"gmavenplus",
307305
"gson",
308306
"guids",
@@ -326,6 +324,7 @@
326324
"junitxml",
327325
"jtoken",
328326
"keyvault",
327+
"kasobol",
329328
"kube",
330329
"kubeconfig",
331330
"kubeconfigs",
@@ -353,6 +352,7 @@
353352
"onboarded",
354353
"onenote",
355354
"pwsh",
355+
"racdw",
356356
"reimage",
357357
"reimaging",
358358
"Remediations",
@@ -380,6 +380,8 @@
380380
"toFile",
381381
"undelete",
382382
"unmanaged",
383+
"unmutated",
384+
"versionid",
383385
"vmware",
384386
"vnet",
385387
"VNET",
@@ -630,6 +632,45 @@
630632
"AADB",
631633
"JPMS"
632634
]
635+
},
636+
{
637+
"filename": "sdk/storage/azure-storage-common/**",
638+
"words": [
639+
"alzimmer",
640+
"azstoragesdkaccount",
641+
"BUILDID"
642+
]
643+
},
644+
{
645+
"filename": "sdk/storage/azure-storage-blob-cryptography/**",
646+
"words": [
647+
"akek"
648+
]
649+
},
650+
{
651+
"filename": "sdk/storage/azure-storage-blob/**",
652+
"words": [
653+
"clientime",
654+
"ctxt",
655+
"etags",
656+
"HTBB",
657+
"IPMISMATCH",
658+
"myaccountname",
659+
"myblob",
660+
"myblobmetadata",
661+
"myblobsforlisting",
662+
"myblockblob",
663+
"mycontainer",
664+
"mycontainermetadata",
665+
"mycontainersforlisting",
666+
"myimage",
667+
"myjavacontainerbasic",
668+
"myjavacontainerbufferedupload",
669+
"myjavacontainerbuffereduploadlength",
670+
"myjavacontainerparallelupload",
671+
"RAGRS",
672+
"saoid"
673+
]
633674
}
634675
],
635676
"allowCompoundWords": true

sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/models/BlobChangefeedEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public interface BlobChangefeedEvent {
3131
OffsetDateTime getEventTime();
3232

3333
/**
34-
* @return the identifer.
34+
* @return the identifier.
3535
*/
3636
String getId();
3737

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ For details on the Azure SDK for Java (July 2019 Preview) release, you can refer
514514
- Authentication using `azure-identity` credentials.
515515

516516
## 11.1.1 (2019.04.30)
517-
- Upgraded to version 2.1.1 of the autorest-clientime which upgrades to a more secure version of jackson and fixes a NPE on unkown host errors.
517+
- Upgraded to version 2.1.1 of the autorest-clientime which upgrades to a more secure version of jackson and fixes a NPE on unknown host errors.
518518

519519
## 11.0.0 (2019.03.22)
520520
- Upgraded to version 2.1.0 of the autorest-clientruntime which includes several important fixes to mitigate a commonly-seen "Connection reset by peer" error and other similar bugs.

sdk/storage/azure-storage-blob/migrationGuides/V10_V12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Our core asynchronous classes have been replaced, as well as new synchronous cou
2222
| AppendBlobURL | AppendBlobAsyncClient | AppendBlobClient |
2323
| PageBlobURL | PageBlobAsyncClient | PageBlobClient |
2424

25-
**Note:** The methods under TransferManager in V10/V11 were moved to `BlobAsyncClient` and `BlobClien`t in V12.
25+
**Note:** The methods under TransferManager in V10/V11 were moved to `BlobAsyncClient` and `BlobClient` in V12.
2626
## Updated Maven dependency
2727
Dependency for Blob service:
2828
```xml

sdk/storage/azure-storage-blob/migrationGuides/V8_V12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Date expiryDate = calendar.getTime();
8787

8888
SharedAccessBlobHeaders headers = new SharedAccessBlobHeaders();
8989
headers.setCacheControl("cache");
90-
headers.setContentDisposition("dispoistion");
90+
headers.setContentDisposition("disposition");
9191
headers.setContentEncoding("encoding");
9292
headers.setContentLanguage("language");
9393
headers.setContentType("type");

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/models/BlobContainerProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public BlobContainerProperties(final Map<String, String> metadata, final String
6161
* @param hasImmutabilityPolicy Flag indicating if the container has an immutability policy set on it.
6262
* @param hasLegalHold Flag indicating if the container has a legal hold.
6363
* @param defaultEncryptionScope The container's default encryption scope to encrypt blobs with.
64-
* @param encryptionScopeOverridePrevented Whether or not a container's default encryption scope can be overriden
64+
* @param encryptionScopeOverridePrevented Whether or not a container's default encryption scope can be overridden
6565
*/
6666
public BlobContainerProperties(final Map<String, String> metadata, final String eTag,
6767
final OffsetDateTime lastModified, final LeaseDurationType leaseDuration, final LeaseStateType leaseState,
@@ -86,7 +86,7 @@ public BlobContainerProperties(final Map<String, String> metadata, final String
8686
* @param hasImmutabilityPolicy Flag indicating if the container has an immutability policy set on it.
8787
* @param hasLegalHold Flag indicating if the container has a legal hold.
8888
* @param defaultEncryptionScope The container's default encryption scope to encrypt blobs with.
89-
* @param encryptionScopeOverridePrevented Whether or not a container's default encryption scope can be overriden
89+
* @param encryptionScopeOverridePrevented Whether or not a container's default encryption scope can be overridden
9090
* @param isImmutableStorageWithVersioningEnabled Whether or not immutable storage with versioning is enabled on
9191
* this container.
9292
*/

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public synchronized void close() throws IOException {
135135
try {
136136
this.commit();
137137
} catch (final BlobStorageException e) {
138-
throw new IOException("The blob has not been commited. Data has not been persisted.", e);
138+
throw new IOException("The blob has not been committed. Data has not been persisted.", e);
139139
}
140140
/* Need this check because for block blob the buffered upload error only manifests itself after commit is
141141
called */

sdk/storage/azure-storage-blob/src/samples/java/com/azure/storage/blob/AsyncBufferedUploadExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static void main(String[] args) throws IOException {
5656
argument list.
5757
*/
5858
Flux<ByteBuffer> sourceData = getSourceBlobClient(endpoint, credential, containerName).downloadStream()
59-
// Perform some unpredicatable transformation.
59+
// Perform some unpredictable transformation.
6060
.map(AsyncBufferedUploadExample::randomTransformation);
6161

6262
/*

sdk/storage/azure-storage-common/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242

243243
## 12.0.0 (2019-10-31)
244244
- Removed BaseClientBuilder
245-
- Renamed RequestRetryOptions maxTries, tryTimeout, secondaryHost, retryDelayInMs, maxRetryDelayInMs to getMaxTries, getTryTimeout, getSecondaryHosy, getRetryDelayInMs, getMaxRetryDelayInMs
245+
- Renamed RequestRetryOptions maxTries, tryTimeout, secondaryHost, retryDelayInMs, maxRetryDelayInMs to getMaxTries, getTryTimeout, getSecondaryHost, getRetryDelayInMs, getMaxRetryDelayInMs
246246
- Renamed IpRange to SasIpRange
247247
- Moved AccountSasQueryParameters, AccountSasSignatureValues, BaseSasQueryParameters, SasIpRange into Sas package
248248
- Removed SR class from public API

sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/sas/SasIpRange.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ public SasIpRange() {
2424
* @return The {@code SasIpRange} generated from the {@code String}.
2525
*/
2626
public static SasIpRange parse(String rangeStr) {
27-
String[] addrs = rangeStr.split("-");
27+
String[] address = rangeStr.split("-");
2828

29-
SasIpRange range = new SasIpRange().setIpMin(addrs[0]);
30-
if (addrs.length > 1) {
31-
range.setIpMax(addrs[1]);
29+
SasIpRange range = new SasIpRange().setIpMin(address[0]);
30+
if (address.length > 1) {
31+
range.setIpMax(address[1]);
3232
}
3333

3434
return range;

0 commit comments

Comments
 (0)