Skip to content

Commit dc30b92

Browse files
committed
Merge branch '2.19'
2 parents 9e5dd4b + cefd4f1 commit dc30b92

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/test/java/tools/jackson/databind/jsontype/PolymorphicDeserErrorHandlingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void testUnknownClassAsSubtype() throws Exception
5454
ObjectReader reader = MAPPER.readerFor(BaseUnknownWrapper.class)
5555
.without(DeserializationFeature.FAIL_ON_INVALID_SUBTYPE);
5656
BaseUnknownWrapper w = reader.readValue(a2q
57-
("{'value':{'clazz':'com.foobar.Nothing'}}'"));
57+
("{'value':{'clazz':'com.foobar.Nothing'}}"));
5858
assertNotNull(w);
5959
}
6060

src/test/java/tools/jackson/databind/jsontype/TestPolymorphicWithDefaultImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public void testUnknownClassAsSubtype() throws Exception
252252
.configure(DeserializationFeature.FAIL_ON_INVALID_SUBTYPE, false)
253253
.build();
254254
BaseWrapper w = mapper.readValue(a2q
255-
("{'value':{'clazz':'com.foobar.Nothing'}}'"),
255+
("{'value':{'clazz':'com.foobar.Nothing'}}"),
256256
BaseWrapper.class);
257257
assertNotNull(w);
258258
assertNull(w.value);

src/test/java/tools/jackson/databind/misc/TestBlocking.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package tools.jackson.databind.misc;
22

3-
import java.io.*;
3+
import java.io.IOException;
44

55
import org.junit.jupiter.api.Test;
66

@@ -24,7 +24,7 @@ public class TestBlocking
2424
* quite yet.
2525
*/
2626
@Test
27-
public void testEagerAdvance() throws IOException
27+
public void testEagerAdvance() throws Exception
2828
{
2929
ObjectMapper mapper = jsonMapperBuilder()
3030
.disable(DeserializationFeature.FAIL_ON_TRAILING_TOKENS)

0 commit comments

Comments
 (0)