Skip to content

Commit b8a3559

Browse files
committed
Fix throws generic Exception
wrt #5140 (comment)
1 parent 93e1a21 commit b8a3559

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import com.fasterxml.jackson.annotation.JsonSetter;
44
import com.fasterxml.jackson.annotation.Nulls;
5-
import com.fasterxml.jackson.core.JsonProcessingException;
65
import com.fasterxml.jackson.core.type.TypeReference;
76
import com.fasterxml.jackson.databind.ObjectMapper;
87
import com.fasterxml.jackson.databind.exc.InvalidNullException;
@@ -40,7 +39,7 @@ public void nullsFailTest() {
4039
}
4140

4241
@Test
43-
public void nullsSkipTest() throws JsonProcessingException {
42+
public void nullsSkipTest() throws Exception {
4443
ObjectMapper mapper = JsonMapper.builder()
4544
.defaultSetterInfo(JsonSetter.Value.forContentNulls(Nulls.FAIL))
4645
.build();

0 commit comments

Comments
 (0)