Skip to content

Commit d0a02e3

Browse files
committed
Autoformat
1 parent 8a6a3a9 commit d0a02e3

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

cpp/src/arrow/filesystem/azurefs.cc

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -247,19 +247,17 @@ Result<AzureOptions> AzureOptions::FromUri(const std::string& uri_string,
247247
}
248248

249249
bool AzureOptions::Equals(const AzureOptions& other) const {
250-
const bool equals = account_name == other.account_name &&
251-
blob_storage_authority == other.blob_storage_authority &&
252-
dfs_storage_authority == other.dfs_storage_authority &&
253-
blob_storage_scheme == other.blob_storage_scheme &&
254-
dfs_storage_scheme == other.dfs_storage_scheme &&
255-
default_metadata == other.default_metadata &&
256-
background_writes == other.background_writes &&
257-
credential_kind_ == other.credential_kind_ &&
258-
account_key_ == other.account_key_ &&
259-
sas_token_ == other.sas_token_ &&
260-
tenant_id_ == other.tenant_id_ &&
261-
client_id_ == other.client_id_ &&
262-
client_secret_ == other.client_secret_;
250+
const bool equals =
251+
account_name == other.account_name &&
252+
blob_storage_authority == other.blob_storage_authority &&
253+
dfs_storage_authority == other.dfs_storage_authority &&
254+
blob_storage_scheme == other.blob_storage_scheme &&
255+
dfs_storage_scheme == other.dfs_storage_scheme &&
256+
default_metadata == other.default_metadata &&
257+
background_writes == other.background_writes &&
258+
credential_kind_ == other.credential_kind_ && account_key_ == other.account_key_ &&
259+
sas_token_ == other.sas_token_ && tenant_id_ == other.tenant_id_ &&
260+
client_id_ == other.client_id_ && client_secret_ == other.client_secret_;
263261
if (!equals) {
264262
return false;
265263
}

cpp/src/arrow/filesystem/azurefs_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,8 @@ TEST(AzureFileSystem, OptionsCompare) {
628628

629629
AzureOptions options5;
630630
options5.account_name = "account_name";
631-
ASSERT_OK(options5.ConfigureClientSecretCredential("fake_tenant_id", "fake_client_id", "fake_client_secret"));
631+
ASSERT_OK(options5.ConfigureClientSecretCredential("fake_tenant_id", "fake_client_id",
632+
"fake_client_secret"));
632633
EXPECT_FALSE(options5.Equals(options4));
633634
}
634635

0 commit comments

Comments
 (0)