Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 13, 2020
1 parent dd40ecb commit d19be52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1204,15 +1204,6 @@ protected String _coercedTypeDesc() {

// Removed from 3.0

@Deprecated // since 2.12
protected Object _coerceNullToken(DeserializationContext ctxt, boolean isPrimitive) throws JsonMappingException
{
if (isPrimitive) {
_verifyNullForPrimitive(ctxt);
}
return getNullValue(ctxt);
}

/*
/**********************************************************************
/* Helper methods for sub-classes, resolving dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void testMapFromEmptyArray() throws Exception

public void testEnumMapFromEmptyArray() throws Exception
{
final JavaType targetType = DEFAULT_READER.getTypeFactory()
final JavaType targetType = DEFAULT_READER.typeFactory()
.constructType(new TypeReference<EnumMap<ABC,String>>() { });

assertNull(MAPPER_TO_NULL.readerFor(targetType).readValue(EMPTY_ARRAY));
Expand Down

0 comments on commit d19be52

Please sign in to comment.