File tree 1 file changed +4
-6
lines changed
src/test/java/com/fasterxml/jackson/databind/deser/creators
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 15
15
import com .fasterxml .jackson .databind .type .TypeFactory ;
16
16
17
17
/**
18
- * Test custom instantiators.
18
+ * Test custom value instantiators.
19
19
*/
20
+ @ SuppressWarnings ("serial" )
20
21
public class TestValueInstantiator extends BaseMapTest
21
22
{
22
23
static class MyBean
@@ -67,14 +68,12 @@ static class PolymorphicBean extends PolymorphicBeanBase
67
68
{
68
69
public String name ;
69
70
}
70
-
71
- @ SuppressWarnings ("serial" )
71
+
72
72
static class MyList extends ArrayList <Object >
73
73
{
74
74
public MyList (boolean b ) { super (); }
75
75
}
76
76
77
- @ SuppressWarnings ("serial" )
78
77
static class MyMap extends HashMap <String ,Object >
79
78
{
80
79
public MyMap (boolean b ) { super (); }
@@ -285,8 +284,7 @@ public AnnotatedBean createUsingDefault(DeserializationContext ctxt) {
285
284
return new AnnotatedBean ("foo" , 3 );
286
285
}
287
286
}
288
-
289
- @ SuppressWarnings ("serial" )
287
+
290
288
static class MyModule extends SimpleModule
291
289
{
292
290
public MyModule (Class <?> cls , ValueInstantiator inst )
You can’t perform that action at this time.
0 commit comments