diff --git a/eng/common/TestResources/New-TestResources.ps1.md b/eng/common/TestResources/New-TestResources.ps1.md index 6b479f23fa0b2..6a2080bee8699 100644 --- a/eng/common/TestResources/New-TestResources.ps1.md +++ b/eng/common/TestResources/New-TestResources.ps1.md @@ -172,7 +172,7 @@ Limit $BaseName to enough characters to be under limit plus prefixes specified i the ARM template. See also https://docs.microsoft.com/azure/architecture/best-practices/resource-naming -Note: The value specified for this parameter will be overriden and generated +Note: The value specified for this parameter will be overridden and generated by New-TestResources.ps1 if $CI is specified. ```yaml diff --git a/sdk/clientcore/core/README.md b/sdk/clientcore/core/README.md index 299df55e20210..0adb68ffea665 100644 --- a/sdk/clientcore/core/README.md +++ b/sdk/clientcore/core/README.md @@ -134,7 +134,7 @@ implementation. ### Accessing HTTP Response Details Using `Response` -_Service clients_ have methods that call Core services, we refer call these methods _service methods_. +_Service clients_ have methods that call Core services, we call these methods _service methods_. _Service methods_ can return a shared Core type `Response`. This type provides access to both the deserialized result of the service call and to the details of the HTTP response returned from the server. diff --git a/sdk/core/azure-core/README.md b/sdk/core/azure-core/README.md index 1f5775ab0d685..11e48db1bf82e 100644 --- a/sdk/core/azure-core/README.md +++ b/sdk/core/azure-core/README.md @@ -89,7 +89,7 @@ These will be introduced by way of the examples presented below. ### Accessing HTTP Response Details Using `Response` -_Service clients_ have methods that call Azure services, we refer call these methods _service methods_. +_Service clients_ have methods that call Azure services, we call these methods _service methods_. _Service methods_ can return a shared Azure Core type `Response`. This type provides access to both the deserialized result of the service call and to the details of the HTTP response returned from the server. @@ -106,12 +106,12 @@ sequentially to prepare it being sent by an `HttpClient`. ### Pagination with `ContinuablePagedFlux` -`ContinuablePageFlux` manages sending an initial page request to a service and retrieving additional pages as the +`ContinuablePagedFlux` manages sending an initial page request to a service and retrieving additional pages as the consumer requests more data until the consumer finishes processing or all pages have been consumed. ### Long Running Operations with `PollerFlux` -`PollerFlux` manages sending an initial service request and requesting processing updates on a fix interval until +`PollerFlux` manages sending an initial service request and requesting processing updates on a fixed interval until polling is cancelled or reaches a terminal state. ### Configuring Builders diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/util/ETag.java b/sdk/core/azure-core/src/main/java/com/azure/core/util/ETag.java index 32614f9587524..1c9b86bdb3dfb 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/util/ETag.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/util/ETag.java @@ -59,7 +59,7 @@ public String toString() { } /** - * Checks if the {@code eTag} a valid ETag value. Valid ETags show below, + * Checks if the {@code eTag} is a valid ETag value. Valid ETags show below, * - The special character, '*'. * - A strong ETag, which the value is wrapped in quotes, ex, "12345". * - A weak ETag, which value is wrapped in quotes and prefixed by "W/", ex, W/"12345". diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/util/ProgressReporter.java b/sdk/core/azure-core/src/main/java/com/azure/core/util/ProgressReporter.java index 576e6831c18f5..d0812ecb469be 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/util/ProgressReporter.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/util/ProgressReporter.java @@ -83,7 +83,7 @@ private ProgressReporter(ProgressListener progressListener) { } /** - * Creates child {@link ProgressReporter}. It tracks it's own progress and reports to parent. + * Creates child {@link ProgressReporter}. It tracks its own progress and reports to parent. * @param parent The parent {@link ProgressReporter}. Must not be null. */ private ProgressReporter(ProgressReporter parent) { diff --git a/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionAsyncContainer.java b/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionAsyncContainer.java index 7a901d08f136e..17ba59659aacf 100644 --- a/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionAsyncContainer.java +++ b/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionAsyncContainer.java @@ -1489,14 +1489,14 @@ private Mono executeCosmosBatchHelper(CosmosBatch encrypted * @param The context for the bulk processing. * @param operations Flux of operation which will be executed by this container. * - * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

@@ -1541,14 +1541,14 @@ private static String getIdValue(CosmosItemOperation itemOperation) * @param bulkOptions Options that apply for this Bulk request which specifies options regarding execution like * concurrency, batching size, interval and context. * - * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

diff --git a/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionContainer.java b/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionContainer.java index a738f41d3217f..80a8860def2e8 100644 --- a/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionContainer.java +++ b/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionContainer.java @@ -386,14 +386,14 @@ public CosmosItemResponse patchItem( * @param The context for the bulk processing. * @param operations list of operation which will be executed by this container. * - * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

@@ -414,14 +414,14 @@ public Iterable> executeBulkOpe * @param bulkOptions Options that apply for this Bulk request which specifies options regarding execution like * concurrency, batching size, interval and context. * - * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

diff --git a/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/implementation/mdesrc/cryptography/MicrosoftDataEncryptionExceptionResource.java b/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/implementation/mdesrc/cryptography/MicrosoftDataEncryptionExceptionResource.java index fbb1e76b74d8f..249618a404326 100644 --- a/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/implementation/mdesrc/cryptography/MicrosoftDataEncryptionExceptionResource.java +++ b/sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/implementation/mdesrc/cryptography/MicrosoftDataEncryptionExceptionResource.java @@ -63,7 +63,7 @@ protected Object[][] getContents() { {"R_UnexpectedSourceType", "Unexpected source data type: {0}."}, {"R_UnexpectedTargetType", "Unexpected target data type: {0}."}, {"R_InvalidTemporalValue", "Invalid temporal value provided."}, - {"R_KeystoreProviderError", "An error has occured while getting keystore provider."}, + {"R_KeystoreProviderError", "An error has occurred while getting keystore provider."}, {"R_CannotBeNull", "{0} cannot be null."}, {"R_CannotBeNullOrWhiteSpace", "{0} cannot be null or empty or consist of only whitespace. "}, {"R_InvalidPSLength", "Value ''{0}'' of type {1} is invalid for the expected precision of {2} and scale of {3}."}, diff --git a/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/CosmosContainerChangeFeedTest.java b/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/CosmosContainerChangeFeedTest.java index 0ba3a5d9abeca..b0e14411fa3bd 100644 --- a/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/CosmosContainerChangeFeedTest.java +++ b/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/CosmosContainerChangeFeedTest.java @@ -813,7 +813,7 @@ public void split_only_notModified() throws Exception { // there are no more change for any of the sub-ranges, but a split is happening on the first sub-range after // the sub-range where we saw a 304 the first time. // This effectively results in an endless-loop because we identify whether all sub-ranges are drained by - // capturing teh first subrange we see a 304 on and then loop through sub-ranges until we hit the same + // capturing the first subrange we see a 304 on and then loop through sub-ranges until we hit the same // subrange without seeing anything but 304. When there is an even number of sub-ranges and a to-be-split // sub-range is the last one - we never exit the loop after the split. // This test is reproducing this edge case - and used both to validate the hotfix and to protect against diff --git a/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/MacPoolTest.java b/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/MacPoolTest.java index 574bdaeab4845..8c79adec4f7ba 100644 --- a/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/MacPoolTest.java +++ b/sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/implementation/MacPoolTest.java @@ -44,8 +44,8 @@ public void handlesNonCloneableMacSpiGracefully() { MacPool.ReUsableMac secondMac = macPool.take(); assertThat(secondMac).isNotNull(); - // expect 3 MACs to be created via the MacProvider - first is teh rootMac - // it isn't cloneable - so each of teh two calls to take (if no mac has been returned) would instantiate yet + // expect 3 MACs to be created via the MacProvider - first is the rootMac + // it isn't cloneable - so each of the two calls to take (if no mac has been returned) would instantiate yet // another Mac bad for performance - but functionally correct and necessary because not every MacSpi is // guaranteed to support cloning // - see https://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html#Step11 diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java index 2df4163b3cf04..523ed33a8ba6c 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncContainer.java @@ -1340,14 +1340,14 @@ public Mono executeCosmosBatch( * @param The context for the bulk processing. * @param operations Flux of operation which will be executed by this container. * - * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

@@ -1369,14 +1369,14 @@ public Flux> executeBulkOperati * @param bulkOptions Options that apply for this Bulk request which specifies options regarding execution like * concurrency, batching size, interval and context. * - * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java index 06a7b193825ca..840fa7dd1632d 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosContainer.java @@ -986,14 +986,14 @@ public CosmosBatchResponse executeCosmosBatch( * @param The context for the bulk processing. * @param operations list of operation which will be executed by this container. * - * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

@@ -1015,14 +1015,14 @@ public Iterable> executeBulkOpe * @param bulkOptions Options that apply for this Bulk request which specifies options regarding execution like * concurrency, batching size, interval and context. * - * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return An Iterable of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. *

* To create a operation which can be executed here, use {@link com.azure.cosmos.models.CosmosBulkOperations}. For eg. * for a upsert operation use {@link com.azure.cosmos.models.CosmosBulkOperations#getUpsertItemOperation(Object, PartitionKey)} *

*

* We can get the corresponding operation using {@link CosmosBulkOperationResponse#getOperation()} and - * it's response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed + * its response using {@link CosmosBulkOperationResponse#getResponse()}. If the operation was executed * successfully, the value returned by {@link com.azure.cosmos.models.CosmosBulkItemResponse#isSuccessStatusCode()} will be true. To get * actual status use {@link com.azure.cosmos.models.CosmosBulkItemResponse#getStatusCode()}. *

diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/MacPool.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/MacPool.java index d163ff8409ffc..c4d26d9f06e66 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/MacPool.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/MacPool.java @@ -42,7 +42,7 @@ private Mac createNewMac() { return this.macProvider.get(); } - // Cloning teh rootMac is the fastest option + // Cloning the rootMac is the fastest option // But while Mac implements Cloneable interface not every MacSpi is required to support cloning // If it doesn't - bad for performance - but functionally correct and necessary // - see https://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html#Step11 diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyMismatchRetryPolicy.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyMismatchRetryPolicy.java index e3149388292d9..9ae0d81ba419e 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyMismatchRetryPolicy.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyMismatchRetryPolicy.java @@ -50,7 +50,7 @@ public PartitionKeyMismatchRetryPolicy( /// /// Should the caller retry the operation. /// - /// Exception that occured when the operation was tried + /// Exception that occurred when the operation was tried /// /// True indicates caller should retry, False otherwise public Mono shouldRetry(Exception exception) { diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyRangeGoneRetryPolicy.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyRangeGoneRetryPolicy.java index 9344eaf5e2a7f..81cb1154fb2c7 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyRangeGoneRetryPolicy.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PartitionKeyRangeGoneRetryPolicy.java @@ -46,7 +46,7 @@ public PartitionKeyRangeGoneRetryPolicy(DiagnosticsClientContext diagnosticsClie /// /// Should the caller retry the operation. /// - /// Exception that occured when the operation was tried + /// Exception that occurred when the operation was tried /// /// True indicates caller should retry, False otherwise public Mono shouldRetry(Exception exception) { diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/QueryMetricsUtils.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/QueryMetricsUtils.java index b102c8534fff1..f45dd9d05cf76 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/QueryMetricsUtils.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/QueryMetricsUtils.java @@ -29,7 +29,7 @@ static HashMap parseDelimitedString(String delimitedString) { String[] attributeKeyValue = StringUtils.split(attribute, "="); if (attributeKeyValue.length != 2) { - throw new NullPointerException("recieved a malformed delimited STRING"); + throw new NullPointerException("received a malformed delimited STRING"); } String attributeKey = attributeKeyValue[key]; diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxGatewayStoreModel.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxGatewayStoreModel.java index 06e6353fd27e4..8a9559d831022 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxGatewayStoreModel.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/RxGatewayStoreModel.java @@ -1342,7 +1342,7 @@ static void safeSilentRelease(Object msg) { try { ReferenceCountUtil.release(msg); } catch (Throwable t) { - // ReferenceCountUtil.safeRelease(msg); would always log teh warning below - which is unnecessary + // ReferenceCountUtil.safeRelease(msg); would always log the warning below - which is unnecessary // in this class - we only needs this for a race condition rarely double-releasing // logger.warn("Failed to release a message: {}", msg, t); } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/apachecommons/collections/map/AbstractHashedMap.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/apachecommons/collections/map/AbstractHashedMap.java index 788e792553d4e..f1edb1bdd95b6 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/apachecommons/collections/map/AbstractHashedMap.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/apachecommons/collections/map/AbstractHashedMap.java @@ -293,7 +293,7 @@ public void putAll(final Map map) { * uses {@link #put(Object, Object)}. *

* It is private to allow the constructor to still call it - * even when putAll is overriden. + * even when putAll is overridden. * * @param map the map to add * @throws NullPointerException if the map is null diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/changefeed/ChangeFeedContextClient.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/changefeed/ChangeFeedContextClient.java index 3f90d6ea01deb..eed1210fe6586 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/changefeed/ChangeFeedContextClient.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/changefeed/ChangeFeedContextClient.java @@ -101,7 +101,7 @@ Mono> deleteItem(String itemId, PartitionKey partitio * DELETE all cosmos items. * * @param cosmosItemIdentities the cosmos identities. - * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and it's response or exception. + * @return A Flux of {@link CosmosBulkOperationResponse} which contains operation and its response or exception. */ Flux> deleteAllItems(List cosmosItemIdentities); diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/HttpResponse.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/HttpResponse.java index 29d871d8663f5..9ac5517fc251c 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/HttpResponse.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/HttpResponse.java @@ -93,7 +93,7 @@ public final HttpResponse withRequest(HttpRequest request) { } /** - * Get a new Response object wrapping this response with it's content + * Get a new Response object wrapping this response with its content * buffered into memory. * * @return the new Response object diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/routing/LocationHelper.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/routing/LocationHelper.java index e07f9a443e677..ee8f5cb256ecf 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/routing/LocationHelper.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/routing/LocationHelper.java @@ -18,7 +18,7 @@ public class LocationHelper { */ public static URI getLocationEndpoint(URI serviceEndpoint, String location) { - // Split the host into 2 parts seperated by '.' + // Split the host into 2 parts separated by '.' // For example, "contoso.documents.azure.com" is separated into "contoso" and "documents.azure.com" // If the host doesn't contains '.', this will return the host as is, as the only element String[] hostParts = StringUtils.split(serviceEndpoint.getHost(), ".", 2); diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosPatchOperations.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosPatchOperations.java index d107ec369ad38..0c00f9b90f7ea 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosPatchOperations.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosPatchOperations.java @@ -26,7 +26,7 @@ * key, the CosmosPatchOperations instance, any CosmosItemRequestOptions and the class type for which response will be parsed. * 2. Add CosmosPatchOperations instance in TransactionalBatch using batch.patchItemOperation() which requires the id of the item * to be patched, cosmos patch instance and TransactionalBatchItemRequestOptions(if-any) and follow remaining - * steps for batch for it's execution. + * steps for batch for its execution. * 3. Create a bulk item using {@link CosmosBulkOperations#getPatchItemOperation(String, PartitionKey, CosmosPatchOperations)} which requires the id of the item to be patched, * cosmos patch instance, partition key and {@link CosmosBulkItemRequestOptions}(if-any) and follow remaining steps to * execute bulk operations. diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorld.java b/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorld.java index c2d4218b541fc..62c3e1493e5f7 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorld.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorld.java @@ -53,7 +53,7 @@ public static void main(String[] args) { returned from listRoleAssignments(). See the README (https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/keyvault/azure-security-keyvault-administration/README.md#authenticate-the-client) - for links and instructions on how to generate a new service principal and obtain it's object ID. You can also + for links and instructions on how to generate a new service principal and obtain its object ID. You can also get the object ID for your currently signed in account by running the following Azure CLI command: az ad signed-in-user show --query objectId */ String servicePrincipalId = ""; diff --git a/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorldAsync.java b/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorldAsync.java index 627531c66b977..823373f1dccd3 100644 --- a/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorldAsync.java +++ b/sdk/keyvault/azure-security-keyvault-administration/src/samples/java/com/azure/security/keyvault/administration/AccessControlHelloWorldAsync.java @@ -56,7 +56,7 @@ public static void main(String[] args) throws InterruptedException { returned from listRoleAssignments(). See the README (https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/keyvault/azure-security-keyvault-administration/README.md#authenticate-the-client) - for links and instructions on how to generate a new service principal and obtain it's object ID. You can also + for links and instructions on how to generate a new service principal and obtain its object ID. You can also get the object ID for your currently signed in account by running the following Azure CLI command: az ad signed-in-user show --query objectId */ String servicePrincipalId = ""; diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java index 8f0f80f8b7db3..c8ee8f999a35d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java @@ -33,7 +33,7 @@ public final class ImportCertificateOptions { private Boolean enabled; /** - * The policy which governs the lifecycle of the imported certificate and it's properties when it is rotated. + * The policy which governs the lifecycle of the imported certificate and its properties when it is rotated. */ private CertificatePolicy policy; diff --git a/sdk/storage/azure-storage-blob-batch/src/test/java/com/azure/storage/blob/batch/BlobBatchTestBase.java b/sdk/storage/azure-storage-blob-batch/src/test/java/com/azure/storage/blob/batch/BlobBatchTestBase.java index 41c8511790ccd..73ea2a0f62d91 100644 --- a/sdk/storage/azure-storage-blob-batch/src/test/java/com/azure/storage/blob/batch/BlobBatchTestBase.java +++ b/sdk/storage/azure-storage-blob-batch/src/test/java/com/azure/storage/blob/batch/BlobBatchTestBase.java @@ -161,7 +161,7 @@ protected String generateResourceName(int entityNo) { * @param bc The blob on which to acquire a lease. * @param leaseID The signalID. Values should only ever be {@code receivedLeaseID}, {@code garbageLeaseID}, or * {@code null}. - * @return The actual lease Id of the blob if recievedLeaseID is passed, otherwise whatever was passed will be + * @return The actual lease Id of the blob if receivedLeaseID is passed, otherwise whatever was passed will be * returned. */ protected String setupBlobLeaseCondition(BlobClientBase bc, String leaseID) { diff --git a/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/BlobCryptographyTestBase.java b/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/BlobCryptographyTestBase.java index 12d9f008c20b4..c5dac05ca508d 100644 --- a/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/BlobCryptographyTestBase.java +++ b/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/BlobCryptographyTestBase.java @@ -274,7 +274,7 @@ protected static List convertNulls(String... conditions) { * @param bc The blob on which to acquire a lease. * @param leaseID The signalID. Values should only ever be {@code receivedLeaseID}, {@code garbageLeaseID}, or * {@code null}. - * @return The actual leaseId of the blob if recievedLeaseID is passed, otherwise whatever was passed will be + * @return The actual leaseId of the blob if receivedLeaseID is passed, otherwise whatever was passed will be * returned. */ protected String setupBlobLeaseCondition(BlobClient bc, String leaseID) { diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobTestBase.java b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobTestBase.java index 71345472c3936..b008f886ac5d7 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobTestBase.java +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/BlobTestBase.java @@ -370,7 +370,7 @@ protected Mono setupBlobMatchCondition(BlobAsyncClientBase bac, String m * @param bc The blob on which to acquire a lease. * @param leaseID The signalID. Values should only ever be {@code receivedLeaseID}, {@code garbageLeaseID}, * or {@code null}. - * @return The actual lease Id of the blob if recievedLeaseID is passed, otherwise whatever was passed will be + * @return The actual lease Id of the blob if receivedLeaseID is passed, otherwise whatever was passed will be * returned. */ protected String setupBlobLeaseCondition(BlobClientBase bc, String leaseID) { diff --git a/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/DataLakeTestBase.java b/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/DataLakeTestBase.java index e24e61c41b6d0..929f15f06085f 100644 --- a/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/DataLakeTestBase.java +++ b/sdk/storage/azure-storage-file-datalake/src/test/java/com/azure/storage/file/datalake/DataLakeTestBase.java @@ -585,7 +585,7 @@ protected static String convertNull(String condition) { * * @param pc The path on which to acquire a lease. * @param leaseID The signalID. Values should only ever be {@code receivedLeaseID}, {@code garbageLeaseID}, or null. - * @return The actual lease id of the path if recievedLeaseID is passed, otherwise whatever was passed will be + * @return The actual lease id of the path if receivedLeaseID is passed, otherwise whatever was passed will be * returned. */ protected String setupPathLeaseCondition(DataLakePathClient pc, String leaseID) { diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileShareTestBase.java b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileShareTestBase.java index b9ee8dfb621ef..96d98949a5ba9 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileShareTestBase.java +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileShareTestBase.java @@ -453,7 +453,7 @@ protected String getPrimaryConnectionString() { * @param fc The blob on which to acquire a lease. * @param leaseID The signalID. Values should only ever be {@code receivedLeaseID}, {@code garbageLeaseID}, or * {@code null}. - * @return The actual lease ID of the blob if recievedLeaseID is passed, otherwise whatever was passed will be + * @return The actual lease ID of the blob if receivedLeaseID is passed, otherwise whatever was passed will be * returned. */ protected String setupFileLeaseCondition(ShareFileClient fc, String leaseID) {