From 4cf14a6e254e7f603f4e40c7de5965145c45986f Mon Sep 17 00:00:00 2001 From: paul cheung Date: Sat, 26 Jun 2021 03:00:53 +0800 Subject: [PATCH] add an extra whitespace in comment and fixed typo (#21649) --- .../Microsoft.Azure.Management.Advisor/src/AzSdk.RP.props | 2 +- .../perf/GetConfigurationSettings.cs | 2 +- .../Azure.Search.Documents.Perf/Scenarios/Autocomplete.cs | 2 +- .../perf/Azure.Storage.Blobs.Perf/Infrastructure/BlobTest.cs | 2 +- .../Azure.Storage.Blobs.Perf/Infrastructure/ContainerTest.cs | 2 +- .../Azure.Storage.Blobs.Perf/Infrastructure/ServiceTest.cs | 2 +- .../Infrastructure/StorageTransferOptionsOptions.cs | 2 +- .../perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadBlob.cs | 2 +- .../perf/Azure.Storage.Blobs.Perf/Scenarios/GetBlobs.cs | 2 +- .../perf/Azure.Storage.Blobs.Perf/Scenarios/UploadBlob.cs | 4 ++-- .../Infrastructure/BlobTest.cs | 2 +- .../Infrastructure/ContainerTest.cs | 2 +- .../Infrastructure/ServiceTest.cs | 2 +- .../Scenarios/DownloadBlob.cs | 2 +- .../Microsoft.Azure.Storage.Blob.Perf/Scenarios/UploadBlob.cs | 2 +- .../Azure.Storage.Files.DataLake.Perf/Scenarios/Append.cs | 4 ++-- .../perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Read.cs | 4 ++-- .../Azure.Storage.Files.DataLake.Perf/Scenarios/Upload.cs | 2 +- .../Azure.Storage.Files.DataLake.Perf/Scenarios/UploadFile.cs | 2 +- .../Azure.Storage.Files.Shares.Perf/Scenarios/DownloadFile.cs | 2 +- .../Azure.Storage.Files.Shares.Perf/Scenarios/UploadFile.cs | 2 +- .../Scenarios/DownloadFile.cs | 2 +- .../Microsoft.Azure.Storage.File.Perf/Scenarios/UploadFile.cs | 2 +- 23 files changed, 26 insertions(+), 26 deletions(-) diff --git a/sdk/advisor/Microsoft.Azure.Management.Advisor/src/AzSdk.RP.props b/sdk/advisor/Microsoft.Azure.Management.Advisor/src/AzSdk.RP.props index cf84a3a65ef8d..92ea05c7e0099 100644 --- a/sdk/advisor/Microsoft.Azure.Management.Advisor/src/AzSdk.RP.props +++ b/sdk/advisor/Microsoft.Azure.Management.Advisor/src/AzSdk.RP.props @@ -1,5 +1,5 @@ - + Advisor_2017-04-19; $(PackageTags);$(CommonTags);$(AzureApiTag); diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/perf/GetConfigurationSettings.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/perf/GetConfigurationSettings.cs index 81575fba117a9..0641e1664c304 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/perf/GetConfigurationSettings.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/perf/GetConfigurationSettings.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/search/Azure.Search.Documents/perf/Azure.Search.Documents.Perf/Scenarios/Autocomplete.cs b/sdk/search/Azure.Search.Documents/perf/Azure.Search.Documents.Perf/Scenarios/Autocomplete.cs index e29c85291bb7b..513efff95f66d 100644 --- a/sdk/search/Azure.Search.Documents/perf/Azure.Search.Documents.Perf/Scenarios/Autocomplete.cs +++ b/sdk/search/Azure.Search.Documents/perf/Azure.Search.Documents.Perf/Scenarios/Autocomplete.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Threading; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/BlobTest.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/BlobTest.cs index fbc2be40d17b8..ff6110975933c 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/BlobTest.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/BlobTest.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ContainerTest.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ContainerTest.cs index b5af35b6d7270..4ee5685be4774 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ContainerTest.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ContainerTest.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ServiceTest.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ServiceTest.cs index 6949af4219259..a3335900fe57e 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ServiceTest.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/ServiceTest.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Test.Perf; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/StorageTransferOptionsOptions.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/StorageTransferOptionsOptions.cs index f02ff284a06cd..e52d72a1a6bba 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/StorageTransferOptionsOptions.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Infrastructure/StorageTransferOptionsOptions.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Test.Perf; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadBlob.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadBlob.cs index ef1dfe46e1292..74a610e2386ed 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadBlob.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/DownloadBlob.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/GetBlobs.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/GetBlobs.cs index c4fde52703b14..51188afa72e6b 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/GetBlobs.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/GetBlobs.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/UploadBlob.cs b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/UploadBlob.cs index a43702ecbf5f3..1054ff2c535e5 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/UploadBlob.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Azure.Storage.Blobs.Perf/Scenarios/UploadBlob.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; @@ -16,7 +16,7 @@ public sealed class UploadBlob : BlobTest { private readonly Stream _stream; - public UploadBlob(StorageTransferOptionsOptions options) : base (options) + public UploadBlob(StorageTransferOptionsOptions options) : base(options) { _stream = RandomStream.Create(options.Size); } diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/BlobTest.cs b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/BlobTest.cs index a73dea1a87da3..139efeb4ee786 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/BlobTest.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/BlobTest.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ContainerTest.cs b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ContainerTest.cs index 12297854565dd..31262298599bd 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ContainerTest.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ContainerTest.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ServiceTest.cs b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ServiceTest.cs index bb3061e295763..68de63e637203 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ServiceTest.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Infrastructure/ServiceTest.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Test.Perf; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/DownloadBlob.cs b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/DownloadBlob.cs index 9dcc559cfc41b..6f3d29563c87b 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/DownloadBlob.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/DownloadBlob.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; diff --git a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/UploadBlob.cs b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/UploadBlob.cs index 0222eabe5482b..b333a9a62df86 100644 --- a/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/UploadBlob.cs +++ b/sdk/storage/Azure.Storage.Blobs/perf/Microsoft.Azure.Storage.Blob.Perf/Scenarios/UploadBlob.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Append.cs b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Append.cs index 77a27c0515158..bf4b2d67bf350 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Append.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Append.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; @@ -121,7 +121,7 @@ public async override Task SetupAsync() public override void Run(CancellationToken cancellationToken) { Payload.Position = 0; - FileClient.Append(Payload, 0, cancellationToken:cancellationToken); + FileClient.Append(Payload, 0, cancellationToken: cancellationToken); } /// diff --git a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Read.cs b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Read.cs index 41e3ede576884..5d5ad86a28504 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Read.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Read.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; @@ -111,7 +111,7 @@ public override void Run(CancellationToken cancellationToken) /// public async override Task RunAsync(CancellationToken cancellationToken) { - await FileClient.ReadToAsync(Stream.Null, cancellationToken:cancellationToken); + await FileClient.ReadToAsync(Stream.Null, cancellationToken: cancellationToken); } } } diff --git a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Upload.cs b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Upload.cs index bb71c0e7765c1..ec82868ccc100 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Upload.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/Upload.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/UploadFile.cs b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/UploadFile.cs index 1c2d8df007759..ebda904aa243c 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/UploadFile.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/perf/Azure.Storage.Files.DataLake.Perf/Scenarios/UploadFile.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/DownloadFile.cs b/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/DownloadFile.cs index 739b7ce6cf8fd..8492f331262f6 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/DownloadFile.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/DownloadFile.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/UploadFile.cs b/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/UploadFile.cs index 9e947f0d683df..3ddbcb7c50908 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/UploadFile.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/perf/Azure.Storage.Files.Shares.Perf/Scenarios/UploadFile.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/DownloadFile.cs b/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/DownloadFile.cs index ad65700f19344..a3189a8cdf0b9 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/DownloadFile.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/DownloadFile.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; diff --git a/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/UploadFile.cs b/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/UploadFile.cs index 7987ed20efdcc..8977fb71a4d69 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/UploadFile.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/perf/Microsoft.Azure.Storage.File.Perf/Scenarios/UploadFile.cs @@ -1,4 +1,4 @@ -//Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System;