Skip to content

Commit 2e4b6c4

Browse files
committed
Minor javadoc improvement
1 parent ffa8629 commit 2e4b6c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/fasterxml/jackson/databind/deser/BasicDeserializerFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,8 @@ protected void _addImplicitConstructorCreators(DeserializationContext ctxt,
483483
final VisibilityChecker<?> vchecker = ccState.vchecker;
484484
List<AnnotatedWithParams> implicitCtors = null;
485485
final boolean preferPropsBased = config.getConstructorDetector().singleArgCreatorDefaultsToProperties()
486-
// [databind#3968]: Only Record's canonical constructor is allowed to be considered for properties-based creator
486+
// [databind#3968]: Only Record's canonical constructor is allowed
487+
// to be considered for properties-based creator to avoid failure
487488
&& !beanDesc.isRecordType();
488489

489490
for (CreatorCandidate candidate : ctorCandidates) {

0 commit comments

Comments
 (0)