From 8c6414ea7d1751f80a4305a7bd3ce11fee238e6a Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Fri, 15 Sep 2023 11:59:30 +0300 Subject: [PATCH] Fix return type of hibernate-search substitution Complementary to https://github.com/quarkusio/quarkus/pull/35847 (cherry picked from commit 66fbb2f0488becaf757f083bb73719a094c7da98) --- .../elasticsearch/runtime/graal/Substitute_JandexBehavior.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/graal/Substitute_JandexBehavior.java b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/graal/Substitute_JandexBehavior.java index 18bfe47e63283..7315ade3084a6 100644 --- a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/graal/Substitute_JandexBehavior.java +++ b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/graal/Substitute_JandexBehavior.java @@ -13,7 +13,7 @@ final class Substitute_JandexBehavior { @Substitute - public static T doWithJandex(JandexBehavior.JandexOperation operation) { + public static void doWithJandex(JandexBehavior.JandexOperation operation) { throw new IllegalStateException("Jandex should not be used at runtime."); }