From 358f0cfe5b529912d7500c72d8f069e4773812bb Mon Sep 17 00:00:00 2001 From: Helber Belmiro Date: Thu, 6 Jul 2023 09:10:08 -0300 Subject: [PATCH] Update quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/src/main/java/org/kie/kogito/quarkus/common/deployment/KogitoQuarkusResourceUtils.java https://github.com/kiegroup/kogito-runtimes/pull/3105#discussion_r1254162917 Co-authored-by: Francisco Javier Tirado Sarti <65240126+fjtirado@users.noreply.github.com> --- .../quarkus/common/deployment/KogitoQuarkusResourceUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/src/main/java/org/kie/kogito/quarkus/common/deployment/KogitoQuarkusResourceUtils.java b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/src/main/java/org/kie/kogito/quarkus/common/deployment/KogitoQuarkusResourceUtils.java index e89588bae59..8a12c604e33 100644 --- a/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/src/main/java/org/kie/kogito/quarkus/common/deployment/KogitoQuarkusResourceUtils.java +++ b/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/src/main/java/org/kie/kogito/quarkus/common/deployment/KogitoQuarkusResourceUtils.java @@ -171,7 +171,7 @@ public static IndexView generateAggregatedIndexNew(IndexView baseIndex, List indexes = new ArrayList<>(); indexes.add(baseIndex); indexes.addAll(newIndexViews); - return CompositeIndex.create(indexes.toArray(new IndexView[0])); + return CompositeIndex.create(indexes); } public static Path getTargetClassesPath(AppPaths appPaths) {