Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -273,16 +273,11 @@ protected JavaType _handleUnknownTypeId(DeserializationContext ctxt, String type
TypeIdResolver idResolver, JavaType baseType)
throws IOException
{
String extraDesc;
if (idResolver instanceof TypeIdResolverBase) {
extraDesc = ((TypeIdResolverBase) idResolver).getDescForKnownTypeIds();
if (extraDesc == null) {
extraDesc = "known type ids are not statically known";
} else {
extraDesc = "known type ids = " + extraDesc;
}
String extraDesc = idResolver.getDescForKnownTypeIds();
if (extraDesc == null) {
extraDesc = "known type ids are not statically known";
} else {
extraDesc = null;
extraDesc = "known type ids = " + extraDesc;
}
return ctxt.handleUnknownTypeId(_baseType, typeId, idResolver, extraDesc);
}
Expand Down