fix a bug in detecting when a repo method param is multivalued

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-03-31 18:55:42 +02:00
parent 70f906045a
commit 38a41e0044

View File

@ -1918,7 +1918,7 @@ private boolean checkParameterType(TypeElement entityType, VariableElement param
// INTENTIONAL FALL-THROUGH
case DECLARED:
if ( types.isSameType( parameterType, attributeType) ) {
return true;
return false;
}
else {
final TypeElement list = context.getTypeElementForFullyQualifiedName(LIST);