Skip to content

Commit 5f03ce5

Browse files
committed
Minor renaming
1 parent 1fda8f8 commit 5f03ce5

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Diff for: src/main/java/com/fasterxml/jackson/databind/deser/BasicDeserializerFactory.java

+5-8
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ protected ValueInstantiator _constructDefaultValueInstantiator(DeserializationCo
261261
PotentialCreator primaryPropsBased = potentialCreators.propertiesBased;
262262

263263
// Start by assigning the primary (and only) properties-based creator
264-
_addExplicitPropertyCreator(ctxt, beanDesc, creators,
264+
_addSelectedPropertiesBasedCreator(ctxt, beanDesc, creators,
265265
CreatorCandidate.construct(config.getAnnotationIntrospector(),
266266
primaryPropsBased.creator(), primaryPropsBased.propertyDefs()));
267267
}
@@ -379,7 +379,7 @@ private void _addImplicitDelegatingConstructors(DeserializationContext ctxt,
379379
for (PotentialCreator candidate : potentials) {
380380
final int argCount = candidate.paramCount();
381381
final AnnotatedWithParams ctor = candidate.creator();
382-
// some single-arg factory methods (String, number) are auto-detected
382+
// some single-arg Constructors (String, number) are auto-detected
383383
if (argCount == 1) {
384384
/*boolean added = */ _handleSingleArgumentCreator(creators,
385385
ctor, false,
@@ -438,7 +438,7 @@ private void _addImplicitDelegatingFactories(DeserializationContext ctxt,
438438
for (PotentialCreator candidate : potentials) {
439439
final int argCount = candidate.paramCount();
440440
AnnotatedWithParams factory = candidate.creator();
441-
// some single-arg factory methods (String, number) are auto-detected
441+
// some single-arg Factory methods (String, number) are auto-detected
442442
if (argCount == 1) {
443443
/*boolean added=*/ _handleSingleArgumentCreator(creators,
444444
factory, false, vchecker.isCreatorVisible(factory));
@@ -500,12 +500,9 @@ private boolean _addExplicitDelegatingCreator(DeserializationContext ctxt,
500500
}
501501

502502
/**
503-
* Helper method called when there is the explicit "is-creator" annotation with mode
504-
* of "properties-based"
505-
*
506-
* @since 2.9.2
503+
* Helper method called the single chosen "properties-based" Creator (if any)
507504
*/
508-
private void _addExplicitPropertyCreator(DeserializationContext ctxt,
505+
private void _addSelectedPropertiesBasedCreator(DeserializationContext ctxt,
509506
BeanDescription beanDesc, CreatorCollector creators,
510507
CreatorCandidate candidate)
511508
throws JsonMappingException

0 commit comments

Comments
 (0)