From 73af618359b1078cfb450c158bb796d2d7a22070 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 7 Jun 2021 22:49:34 +0800 Subject: [PATCH] add an extra whitespace in comment and fixed typo --- .../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 cf84a3a65ef8..92ea05c7e009 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 81575fba117a..0641e1664c30 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 e29c85291bb7..513efff95f66 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 431b47b4e3a7..b2fc2344da32 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 b5af35b6d727..4ee5685be477 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 6949af421925..a3335900fe57 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 f02ff284a06c..e52d72a1a6bb 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 ef1dfe46e129..74a610e2386e 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 c4fde52703b1..51188afa72e6 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 a43702ecbf5f..1054ff2c535e 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 a73dea1a87da..139efeb4ee78 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 12297854565d..31262298599b 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 bb3061e29576..68de63e63720 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 9dcc559cfc41..6f3d29563c87 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 0222eabe5482..b333a9a62df8 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 77a27c051515..bf4b2d67bf35 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 41e3ede57688..5d5ad86a2850 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 bb71c0e7765c..ec82868ccc10 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 1c2d8df00775..ebda904aa243 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 739b7ce6cf8f..8492f331262f 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 9e947f0d683d..3ddbcb7c5090 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 ad65700f1934..a3189a8cdf0b 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 7987ed20efdc..8977fb71a4d6 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;