You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xy...@apache.org on 2026/06/08 07:34:02 UTC
(pulsar) branch branch-4.0 updated: Fix build failure due to an old version of Caffine
This is an automated email from the ASF dual-hosted git repository.
BewareMyPower pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new ec6e8a7ed3e Fix build failure due to an old version of Caffine
ec6e8a7ed3e is described below
commit ec6e8a7ed3e33910819e633e0c3983a44ae5860b
Author: Yunze Xu <xy...@163.com>
AuthorDate: Mon Jun 8 15:18:31 2026 +0800
Fix build failure due to an old version of Caffine
---
.../apache/pulsar/broker/service/LegacyAwareTopicPoliciesService.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/LegacyAwareTopicPoliciesService.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/LegacyAwareTopicPoliciesService.java
index 6e1bfd7bacc..c9d6fbd3ac3 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/LegacyAwareTopicPoliciesService.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/LegacyAwareTopicPoliciesService.java
@@ -56,8 +56,8 @@ public class LegacyAwareTopicPoliciesService implements TopicPoliciesService {
.buildAsync(new AsyncCacheLoader<>() {
@NonNull
@Override
- public CompletableFuture<? extends Boolean> asyncLoad(NamespaceName key,
- @NonNull Executor executor) {
+ public CompletableFuture<Boolean> asyncLoad(NamespaceName key,
+ @NonNull Executor executor) {
return NamespaceEventsSystemTopicFactory.checkSystemTopicExists(key, EventType.TOPIC_POLICY,
pulsar);
}