From dc3f4cfe408ce2f542c15ef9b66efa4074af48c4 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 6 Apr 2023 16:41:43 +0200 Subject: [PATCH] Fix default annotation of strategy() in CoordinationConfig --- ...nateSearchElasticsearchBuildTimeConfigPersistenceUnit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java index e869201715bd9..5dabad2197f33 100644 --- a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java +++ b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.java @@ -6,10 +6,10 @@ import org.hibernate.search.backend.elasticsearch.ElasticsearchVersion; +import io.quarkus.runtime.annotations.ConfigDocDefault; import io.quarkus.runtime.annotations.ConfigDocMapKey; import io.quarkus.runtime.annotations.ConfigDocSection; import io.quarkus.runtime.annotations.ConfigGroup; -import io.smallrye.config.WithDefault; import io.smallrye.config.WithName; import io.smallrye.config.WithParentName; @@ -235,7 +235,7 @@ public interface CoordinationConfig { * * @asciidoclet */ - @WithDefault("none") + @ConfigDocDefault("none") Optional strategy(); }