Skip to content

Commit 63b7c5c

Browse files
committed
apply format
Signed-off-by: Seunggyu Lee <[email protected]>
1 parent 635dad7 commit 63b7c5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

auto-configurations/common/spring-ai-autoconfigure-retry/src/main/java/org/springframework/ai/retry/autoconfigure/SpringAiRetryAutoConfiguration.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import java.io.IOException;
2020
import java.nio.charset.StandardCharsets;
21-
2221
import org.slf4j.Logger;
2322
import org.slf4j.LoggerFactory;
2423
import org.springframework.ai.retry.NonTransientAiException;
@@ -76,10 +75,10 @@ public <T, E extends Throwable> void onError(RetryContext context, RetryCallback
7675
}
7776
});
7877

79-
// Optionally add WebFlux pre-response network errors if present without hard dependency
78+
// Optionally add WebFlux pre-response network errors if present
8079
try {
8180
Class<?> webClientRequestEx = Class
82-
.forName("org.springframework.web.reactive.function.client.WebClientRequestException");
81+
.forName("org.springframework.web.reactive.function.client.WebClientRequestException");
8382
@SuppressWarnings("unchecked")
8483
Class<? extends Throwable> exClass = (Class<? extends Throwable>) webClientRequestEx;
8584
builder.retryOn(exClass);

0 commit comments

Comments
 (0)