Skip to content

Commit

Permalink
Fix constructors and queryConstructors check in ReflectiveClassBI
Browse files Browse the repository at this point in the history
Fix constructors and queryConstructors check in ReflectiveClassBuildItem

Follow up to quarkusio#42035
  • Loading branch information
zakkak committed Aug 1, 2024
1 parent cc8e323 commit 1ff34d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public static ReflectiveClassBuildItem serializationClass(String... classNames)
this.fields = fields;
this.classes = classes;
this.constructors = constructors;
if (methods && queryMethods) {
if (constructors && queryConstructors) {
Log.warnf(
"Both constructors and queryConstructors are set to true for classes: %s. queryConstructors is redundant and will be ignored",
String.join(", ", className));
Expand Down

0 comments on commit 1ff34d0

Please sign in to comment.