Merge branch '3.2.x' into 3.3.x

Closes gh-42916
This commit is contained in:
Stéphane Nicoll
2024-10-29 13:39:23 +09:00
2 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ abstract class PropertyDescriptor {
}
returnType = getTopLevelType(returnType);
Element candidate = element;
while (candidate != null && candidate instanceof TypeElement) {
while (candidate instanceof TypeElement) {
if (returnType.equals(getTopLevelType(candidate))) {
return true;
}