Skip to content

Commit

Permalink
Merge branch '2.15' into 2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 4, 2023
2 parents 774ddb8 + a7a8a80 commit 924152d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1031,10 +1031,10 @@ private boolean _checkIfCreatorPropertyBased(BeanDescription beanDesc,
return true;
}
}
}
// [databind#3897]: Record canonical constructor will have implicitly named propDef
if (propDef != null && !propDef.isExplicitlyNamed() && beanDesc.isRecordType()) {
return true;
// [databind#3897]: Record canonical constructor will have implicitly named propDef
if (!propDef.isExplicitlyNamed() && beanDesc.isRecordType()) {
return true;
}
}
// in absence of everything else, default to delegating
return false;
Expand Down

0 comments on commit 924152d

Please sign in to comment.