From eaf882bcdcd1cd66b650756680aeca430d425b6b Mon Sep 17 00:00:00 2001 From: azerr Date: Mon, 22 Dec 2025 17:39:58 +0100 Subject: [PATCH] @ConfigMapping with fields which are same type collect only the first field Fixes https://github.com/redhat-developer/vscode-quarkus/issues/940 Signed-off-by: azerr --- .../quarkus/core/properties/QuarkusConfigMappingProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java b/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java index cb0a0d7dc..8cd50a168 100644 --- a/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java +++ b/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java @@ -225,7 +225,7 @@ private void populateConfigObject(IType configMappingType, String prefixStr, Str // Other type (App interface, etc) Set allInterfaces = findInterfaces(returnType, monitor); for (IType configMappingInterface : allInterfaces) { - populateConfigObject(configMappingInterface, propertyName, extensionName, typesAlreadyProcessed, + populateConfigObject(configMappingInterface, propertyName, extensionName, new HashSet<>(), configMappingAnnotation, collector, monitor); } }