@@ -58,6 +58,7 @@ public final class DeserializerCache
58
58
59
59
/**
60
60
* We hold an explicit lock while creating deserializers to avoid creating duplicates.
61
+ * Guards {@link #_incompleteDeserializers}.
61
62
*/
62
63
private final ReentrantLock _incompleteDeserializersLock = new ReentrantLock ();
63
64
@@ -75,9 +76,6 @@ public DeserializerCache(LookupCache<JavaType, ValueDeserializer<Object>> cache)
75
76
_cachedDeserializers = cache ;
76
77
}
77
78
78
- /**
79
- * @since 2.16
80
- */
81
79
public DeserializerCache emptyCopy () {
82
80
return new DeserializerCache (_cachedDeserializers .emptyCopy ());
83
81
}
@@ -159,10 +157,9 @@ public ValueDeserializer<Object> findValueDeserializer(DeserializationContext ct
159
157
// If not, need to request factory to construct (or recycle)
160
158
deser = _createAndCacheValueDeserializer (ctxt , factory , propertyType );
161
159
if (deser == null ) {
162
- /* Should we let caller handle it? Let's have a helper method
163
- * decide it; can throw an exception, or return a valid
164
- * deserializer
165
- */
160
+ // Should we let caller handle it? Let's have a helper method
161
+ // decide it; can throw an exception, or return a valid
162
+ // deserializer
166
163
deser = _handleUnknownValueDeserializer (ctxt , propertyType );
167
164
}
168
165
}
@@ -539,8 +536,6 @@ private JavaType modifyTypeByAnnotation(DeserializationContext ctxt,
539
536
/**
540
537
* Helper method used to prevent both caching and cache lookups for structured
541
538
* types that have custom value handlers
542
- *
543
- * @since 2.8.11
544
539
*/
545
540
private boolean _hasCustomHandlers (JavaType t ) {
546
541
if (t .isContainerType ()) {
0 commit comments