Skip to content

Commit 52a7c9f

Browse files
Format
1 parent 3e0490b commit 52a7c9f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/error/ApiErrors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private static void normalizeError(ApiErrorBody errorBody) {
6868
// SCIM error handling.
6969
//
7070
// TODO: This code is brittle and should likely be refactored to a more
71-
// robust solution to detect SCIM errors. This will likely involve
71+
// robust solution to detect SCIM errors. This will likely involve
7272
// parsing the SCIM error at the API call level rather than normalizing.
7373
if (Strings.isNullOrEmpty(errorBody.getScimDetail())) {
7474
return;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ void verifyNoRetryWhenRetriesDisabled() throws IOException {
429429
client.execute(
430430
new Request("GET", req.getUri().getPath()), MyEndpointResponse.class));
431431

432-
assertEquals("TOO_MANY_REQUESTS", exception.getErrorCode());
433432
assertInstanceOf(TooManyRequests.class, exception);
434433
assertEquals(429, exception.getStatusCode());
435434
}

0 commit comments

Comments
 (0)