Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 4, 2023
1 parent ad308b4 commit a7a8a80
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 a7a8a80

Please sign in to comment.