Skip to content

Commit 38a41e0

Browse files
committedMar 31, 2024
fix a bug in detecting when a repo method param is multivalued
Signed-off-by: Gavin King <gavin@hibernate.org>
1 parent 70f9060 commit 38a41e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,7 @@ private boolean checkParameterType(TypeElement entityType, VariableElement param
19181918
// INTENTIONAL FALL-THROUGH
19191919
case DECLARED:
19201920
if ( types.isSameType( parameterType, attributeType) ) {
1921-
return true;
1921+
return false;
19221922
}
19231923
else {
19241924
final TypeElement list = context.getTypeElementForFullyQualifiedName(LIST);

0 commit comments

Comments
 (0)