Skip to content

Commit 9d1eb67

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

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

2222
import org.slf4j.Logger;
2323
import org.slf4j.LoggerFactory;
24+
2425
import org.springframework.ai.retry.NonTransientAiException;
2526
import org.springframework.ai.retry.RetryUtils;
2627
import org.springframework.ai.retry.TransientAiException;
@@ -76,10 +77,10 @@ public <T, E extends Throwable> void onError(RetryContext context, RetryCallback
7677
}
7778
});
7879

79-
// Optionally add WebFlux pre-response network errors if present without hard dependency
80+
// Optionally add WebFlux pre-response network errors if present
8081
try {
8182
Class<?> webClientRequestEx = Class
82-
.forName("org.springframework.web.reactive.function.client.WebClientRequestException");
83+
.forName("org.springframework.web.reactive.function.client.WebClientRequestException");
8384
@SuppressWarnings("unchecked")
8485
Class<? extends Throwable> exClass = (Class<? extends Throwable>) webClientRequestEx;
8586
builder.retryOn(exClass);

0 commit comments

Comments
 (0)