Skip to content

Commit 549e857

Browse files
committed
Fix for compatibility with Java 8
1 parent c41b4af commit 549e857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/fasterxml/jackson/databind/deser/std/CollectionDeserializer5139Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void nullsSkipTest() throws JsonProcessingException {
4242
ObjectMapper mapper = new ObjectMapper();
4343
mapper.configOverride(List.class).setSetterInfo(JsonSetter.Value.forContentNulls(Nulls.SKIP));
4444

45-
Dst dst = mapper.readValue("{\"list\":[\"\"]}", new TypeReference<>() {});
45+
Dst dst = mapper.readValue("{\"list\":[\"\"]}", new TypeReference<Dst>() {});
4646

4747
assertTrue(dst.getList().isEmpty());
4848
}

0 commit comments

Comments
 (0)