Skip to content

Commit c326c13

Browse files
committed
...
1 parent 815c617 commit c326c13

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/test/java/com/fasterxml/jackson/databind/deser/creators/TestValueInstantiator.java

+4-6
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
import com.fasterxml.jackson.databind.type.TypeFactory;
1616

1717
/**
18-
* Test custom instantiators.
18+
* Test custom value instantiators.
1919
*/
20+
@SuppressWarnings("serial")
2021
public class TestValueInstantiator extends BaseMapTest
2122
{
2223
static class MyBean
@@ -67,14 +68,12 @@ static class PolymorphicBean extends PolymorphicBeanBase
6768
{
6869
public String name;
6970
}
70-
71-
@SuppressWarnings("serial")
71+
7272
static class MyList extends ArrayList<Object>
7373
{
7474
public MyList(boolean b) { super(); }
7575
}
7676

77-
@SuppressWarnings("serial")
7877
static class MyMap extends HashMap<String,Object>
7978
{
8079
public MyMap(boolean b) { super(); }
@@ -285,8 +284,7 @@ public AnnotatedBean createUsingDefault(DeserializationContext ctxt) {
285284
return new AnnotatedBean("foo", 3);
286285
}
287286
}
288-
289-
@SuppressWarnings("serial")
287+
290288
static class MyModule extends SimpleModule
291289
{
292290
public MyModule(Class<?> cls, ValueInstantiator inst)

0 commit comments

Comments
 (0)