Skip to content

Commit 18b7324

Browse files
committed
fmt
1 parent d2158a1 commit 18b7324

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/DatabricksConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ HostMetadata getHostMetadata() throws IOException {
838838
* <p><b>Note:</b> This API is experimental and may change or be removed in future releases
839839
* without notice.
840840
*
841-
* @throws DatabricksException if {@code accountId} cannot be resolved or {@code oidc_endpoint}
842-
* is missing from the host metadata.
841+
* @throws DatabricksException if {@code accountId} cannot be resolved or {@code oidc_endpoint} is
842+
* missing from the host metadata.
843843
*/
844844
void resolveHostMetadata() throws IOException {
845845
if (host == null) {

databricks-sdk-java/src/test/java/com/databricks/sdk/core/DatabricksConfigTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,7 @@ public void testGetHostMetadataAccountRawOidcTemplate() throws IOException {
462462
DatabricksConfig config = new DatabricksConfig().setHost(server.getUrl());
463463
config.resolve(emptyEnv());
464464
HostMetadata meta = config.getHostMetadata();
465-
assertEquals(
466-
"https://acc.databricks.com/oidc/accounts/{account_id}", meta.getOidcEndpoint());
465+
assertEquals("https://acc.databricks.com/oidc/accounts/{account_id}", meta.getOidcEndpoint());
467466
assertNull(meta.getAccountId());
468467
assertNull(meta.getWorkspaceId());
469468
}
@@ -515,8 +514,7 @@ public void testResolveHostMetadataAccountSubstitutesAccountId() throws IOExcept
515514
config.resolve(emptyEnv());
516515
config.resolveHostMetadata();
517516
assertEquals(
518-
"https://acc.databricks.com/oidc/accounts/" + DUMMY_ACCOUNT_ID,
519-
config.getDiscoveryUrl());
517+
"https://acc.databricks.com/oidc/accounts/" + DUMMY_ACCOUNT_ID, config.getDiscoveryUrl());
520518
}
521519
}
522520

0 commit comments

Comments
 (0)