Skip to content

Commit 61ecbcd

Browse files
committed
Merge branch '2.18'
2 parents 8454a50 + 5d9009b commit 61ecbcd

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/main/java/tools/jackson/databind/deser/DeserializerCache.java

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public final class DeserializerCache
5858

5959
/**
6060
* We hold an explicit lock while creating deserializers to avoid creating duplicates.
61+
* Guards {@link #_incompleteDeserializers}.
6162
*/
6263
private final ReentrantLock _incompleteDeserializersLock = new ReentrantLock();
6364

@@ -75,9 +76,6 @@ public DeserializerCache(LookupCache<JavaType, ValueDeserializer<Object>> cache)
7576
_cachedDeserializers = cache;
7677
}
7778

78-
/**
79-
* @since 2.16
80-
*/
8179
public DeserializerCache emptyCopy() {
8280
return new DeserializerCache(_cachedDeserializers.emptyCopy());
8381
}
@@ -159,10 +157,9 @@ public ValueDeserializer<Object> findValueDeserializer(DeserializationContext ct
159157
// If not, need to request factory to construct (or recycle)
160158
deser = _createAndCacheValueDeserializer(ctxt, factory, propertyType);
161159
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
166163
deser = _handleUnknownValueDeserializer(ctxt, propertyType);
167164
}
168165
}
@@ -539,8 +536,6 @@ private JavaType modifyTypeByAnnotation(DeserializationContext ctxt,
539536
/**
540537
* Helper method used to prevent both caching and cache lookups for structured
541538
* types that have custom value handlers
542-
*
543-
* @since 2.8.11
544539
*/
545540
private boolean _hasCustomHandlers(JavaType t) {
546541
if (t.isContainerType()) {

0 commit comments

Comments
 (0)