Skip to content

Commit 4265689

Browse files
committed
Fix RestClient HTTP service condition for reactive VT
Signed-off-by: Nhahan <[email protected]>
1 parent 871f4a9 commit 4265689

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

module/spring-boot-restclient/src/main/java/org/springframework/boot/restclient/autoconfigure/NotReactiveWebApplicationOrVirtualThreadsExecutorEnabledCondition.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
* {@link SpringBootCondition} that applies when running in a non-reactive web application
2929
* or virtual threads are enabled.
3030
*
31+
* Should be kept in sync with
32+
* {@code org.springframework.boot.restclient.autoconfigure.service.NotReactiveWebApplicationOrVirtualThreadsExecutorEnabledCondition}.
33+
*
3134
* @author Dmitry Sulman
3235
*/
3336
class NotReactiveWebApplicationOrVirtualThreadsExecutorEnabledCondition extends AnyNestedCondition {

module/spring-boot-restclient/src/main/java/org/springframework/boot/restclient/autoconfigure/service/HttpServiceClientAutoConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
import org.springframework.web.service.registry.HttpServiceProxyRegistry;
3737

3838
/**
39-
* AutoConfiguration for Spring HTTP Service clients backed by
40-
* {@link RestClient}.
39+
* AutoConfiguration for Spring HTTP Service clients backed by {@link RestClient}.
4140
*
4241
* @author Olga Maciaszek-Sharma
4342
* @author Rossen Stoyanchev

0 commit comments

Comments
 (0)