Skip to content

Commit ff2b295

Browse files
committed
Fix version in ListenableFuture removal warning message
1 parent bab7e8d commit ff2b295

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-integration-core/src/main/java/org/springframework/integration/gateway/GatewayProxyFactoryBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ else if (CompletableFuture.class.equals(returnType)) { // exact
544544
else if (org.springframework.util.concurrent.ListenableFuture.class.equals(returnType)) {
545545
logger.warn("The 'org.springframework.util.concurrent.ListenableFuture' is deprecated for removal." +
546546
"The 'CompletableFuture' is recommended to be used instead." +
547-
"The 'ListenableFuture' support will be removed in Spring Integration 7.0.");
547+
"The 'ListenableFuture' support will be removed in Spring Integration 6.5.");
548548
return ((org.springframework.core.task.AsyncListenableTaskExecutor) this.asyncExecutor)
549549
.submitListenable(invoker::get);
550550
}

spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractMessageProducingHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ private CompletableFuture<?> toCompletableFuture(Object reply) {
427427
else {
428428
logger.warn("The 'org.springframework.util.concurrent.ListenableFuture' is deprecated for removal." +
429429
"The 'CompletableFuture' is recommended to be used instead." +
430-
"The 'ListenableFuture' support will be removed in Spring Integration 7.0.");
430+
"The 'ListenableFuture' support will be removed in Spring Integration 6.5.");
431431
return ((org.springframework.util.concurrent.ListenableFuture<?>) reply).completable();
432432
}
433433
}

0 commit comments

Comments
 (0)